mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
fastening: set ENABLED_BY_DEFAULT to false
If it is announced as feature, entities sending fastened messages expect the recipient to react somehow on those. And this is not the case if this is just enabled in Smack. Hence we disable it per default and require smack users to explicitly enable it after they have setup the according stanza listeners.
This commit is contained in:
parent
cda764d62d
commit
77d12d4758
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ public final class MessageFasteningManager extends Manager {
|
|||
|
||||
public static final String NAMESPACE = "urn:xmpp:fasten:0";
|
||||
|
||||
private static boolean ENABLED_BY_DEFAULT = true;
|
||||
private static boolean ENABLED_BY_DEFAULT = false;
|
||||
|
||||
private static final WeakHashMap<XMPPConnection, MessageFasteningManager> INSTANCES = new WeakHashMap<>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue