summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-22 21:08:08 +0200
committermathieui <mathieui@mathieui.net>2021-04-22 21:08:08 +0200
commitd184442337643242df26e7be959c2117539103ae (patch)
treed8d8f67ddeb6bf92a5529125db2d9446dc0cf2ba
parent3630c3d1ccaad8aa668d86d96dd58555d1b25556 (diff)
parenta4789acbfbfb082bb1e3b1c437c22f7395fbc9e4 (diff)
downloadslixmpp-d184442337643242df26e7be959c2117539103ae.tar.gz
slixmpp-d184442337643242df26e7be959c2117539103ae.tar.bz2
slixmpp-d184442337643242df26e7be959c2117539103ae.tar.xz
slixmpp-d184442337643242df26e7be959c2117539103ae.zip
Merge branch 'fix-waiting-queue-xmlstream' into 'master'
xmlstream: fix use of the waiting queue See merge request poezio/slixmpp!159
-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 4cb51b94..7a94bf50 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -1146,7 +1146,7 @@ class XMLStream(asyncio.BaseProtocol):
or isinstance(data, Handshake)
)
if isinstance(data, (RootStanza, str)) and not passthrough:
- self.__queued_stanzas.append(data)
+ self.__queued_stanzas.append((data, use_filters))
log.debug('NOT SENT: %s %s', type(data), data)
return
self.waiting_queue.put_nowait((data, use_filters))