summaryrefslogtreecommitdiff
path: root/slixmpp/basexmpp.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-31 16:46:50 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-31 16:46:51 +0100
commit74ed50e6267f97909f24408d7261307b52d2e077 (patch)
treeec52ddfa4fa54416255a773d7a183448bd9088df /slixmpp/basexmpp.py
parent9d378c611cacf2c5e425cdebc00a7a20a530d67c (diff)
downloadslixmpp-74ed50e6267f97909f24408d7261307b52d2e077.tar.gz
slixmpp-74ed50e6267f97909f24408d7261307b52d2e077.tar.bz2
slixmpp-74ed50e6267f97909f24408d7261307b52d2e077.tar.xz
slixmpp-74ed50e6267f97909f24408d7261307b52d2e077.zip
Set @id by default on outgoing messages and presences.
Respects RFC6120 §8.1.3’s RECOMMENDED.
Diffstat (limited to 'slixmpp/basexmpp.py')
-rw-r--r--slixmpp/basexmpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/basexmpp.py b/slixmpp/basexmpp.py
index f603b72c..146b6086 100644
--- a/slixmpp/basexmpp.py
+++ b/slixmpp/basexmpp.py
@@ -104,12 +104,12 @@ class BaseXMPP(XMLStream):
#: :attr:`use_message_ids` to `True` will assign all outgoing
#: messages an ID. Some plugin features require enabling
#: this option.
- self.use_message_ids = False
+ self.use_message_ids = True
#: Presence updates may optionally be tagged with ID values.
#: Setting :attr:`use_message_ids` to `True` will assign all
#: outgoing messages an ID.
- self.use_presence_ids = False
+ self.use_presence_ids = True
#: The API registry is a way to process callbacks based on
#: JID+node combinations. Each callback in the registry is