diff options
author | mathieui <mathieui@mathieui.net> | 2021-04-22 21:08:08 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-22 21:08:08 +0200 |
commit | d184442337643242df26e7be959c2117539103ae (patch) | |
tree | d8d8f67ddeb6bf92a5529125db2d9446dc0cf2ba /slixmpp | |
parent | 3630c3d1ccaad8aa668d86d96dd58555d1b25556 (diff) | |
parent | a4789acbfbfb082bb1e3b1c437c22f7395fbc9e4 (diff) | |
download | slixmpp-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
Diffstat (limited to 'slixmpp')
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 2 |
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)) |