summaryrefslogtreecommitdiff
path: root/slixmpp/xmlstream/xmlstream.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-09 20:55:41 +0200
committermathieui <mathieui@mathieui.net>2021-04-09 20:55:41 +0200
commit894131d77254c17b227214ef8a8345c046231079 (patch)
tree35d71a04ec7d68e11e5ce0f5df29272dfb018687 /slixmpp/xmlstream/xmlstream.py
parent7ddcc3428fbc48814da301ce7cba9b1f855a0fa9 (diff)
parentfcf666e3cb2f2656020a73e94df332f996924511 (diff)
downloadslixmpp-894131d77254c17b227214ef8a8345c046231079.tar.gz
slixmpp-894131d77254c17b227214ef8a8345c046231079.tar.bz2
slixmpp-894131d77254c17b227214ef8a8345c046231079.tar.xz
slixmpp-894131d77254c17b227214ef8a8345c046231079.zip
Merge branch 'inbound-id-message-presence' into 'master'
Fix #3441: Do not assign ID to inbound stanzas Closes #3441 See merge request poezio/slixmpp!155
Diffstat (limited to 'slixmpp/xmlstream/xmlstream.py')
-rw-r--r--slixmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py
index 02f4598c..d9edc5b2 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -1157,7 +1157,7 @@ class XMLStream(asyncio.BaseProtocol):
xml.tag == stanza_class.tag_name():
stanza_type = stanza_class
break
- stanza = stanza_type(self, xml)
+ stanza = stanza_type(self, xml, recv=True)
if stanza['lang'] is None and self.peer_default_lang:
stanza['lang'] = self.peer_default_lang
return stanza