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