diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-01-21 14:49:29 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-01-21 14:49:29 +0100 |
commit | 25437cb60d1933158c6478cc291e3257c5c6db07 (patch) | |
tree | ad21440fe24785a48b11ca2430f6b4fb178c13cb /src/main/java/de/pixart/messenger/xmpp/XmppConnection.java | |
parent | 89bea337c741d44d03a56457fe29ed5ba365d765 (diff) |
disable offline messages. postpone prekey handling until after mam catchup
Diffstat (limited to 'src/main/java/de/pixart/messenger/xmpp/XmppConnection.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/xmpp/XmppConnection.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java b/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java index acb15e068..0e168ca3b 100644 --- a/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java +++ b/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java @@ -1711,6 +1711,10 @@ public class XmppConnection implements Runnable { return hasDiscoFeature(account.getServer(), "urn:xmpp:reporting:reason:spam:0"); } + public boolean flexibleOfflineMessageRetrieval() { + return hasDiscoFeature(account.getServer(), Namespace.FLEXIBLE_OFFLINE_MESSAGE_RETRIEVAL); + } + public boolean register() { return hasDiscoFeature(account.getServer(), Namespace.REGISTER); } |