From a4789acbfbfb082bb1e3b1c437c22f7395fbc9e4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 22 Apr 2021 21:07:30 +0200 Subject: xmlstream: fix use of the waiting queue --- slixmpp/xmlstream/xmlstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3