summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-22 21:07:30 +0200
committermathieui <mathieui@mathieui.net>2021-04-22 21:07:30 +0200
commita4789acbfbfb082bb1e3b1c437c22f7395fbc9e4 (patch)
treed8d8f67ddeb6bf92a5529125db2d9446dc0cf2ba
parent3630c3d1ccaad8aa668d86d96dd58555d1b25556 (diff)
downloadslixmpp-a4789acbfbfb082bb1e3b1c437c22f7395fbc9e4.tar.gz
slixmpp-a4789acbfbfb082bb1e3b1c437c22f7395fbc9e4.tar.bz2
slixmpp-a4789acbfbfb082bb1e3b1c437c22f7395fbc9e4.tar.xz
slixmpp-a4789acbfbfb082bb1e3b1c437c22f7395fbc9e4.zip
xmlstream: fix use of the waiting queue
-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))