Set @id by default on outgoing messages and presences.

Respects RFC6120 §8.1.3’s RECOMMENDED.
This commit is contained in:
Emmanuel Gil Peyrot
2019-01-31 16:46:50 +01:00
parent 9d378c611c
commit 74ed50e626
2 changed files with 3 additions and 2 deletions

View File

@@ -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='',