summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slixmpp/xmlstream/xmlstream.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py
index ab9b781d..8d90abf8 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -264,6 +264,7 @@ class XMLStream(asyncio.BaseProtocol):
self._session_started = True
for stanza in self.__queued_stanzas:
self.waiting_queue.put_nowait(stanza)
+ self.__queued_stanzas = []
def _set_disconnected(self, event):
self._session_started = False