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 diff --git a/slixmpp/test/slixtest.py b/slixmpp/test/slixtest.py index ff185368..3953d77d 100644 --- a/slixmpp/test/slixtest.py +++ b/slixmpp/test/slixtest.py @@ -361,6 +361,7 @@ class SlixTest(unittest.TestCase): # Some plugins require messages to have ID values. Set # this to True in tests related to those plugins. self.xmpp.use_message_ids = False + self.xmpp.use_presence_ids = False def make_header(self, sto='', sfrom='',