Commit 528553be authored by mathieui's avatar mathieui

xmlstream: do not re-send queued stanzas on each connect

each sent stanza should be purged, obviously…
parent 6f4ac7e7
......@@ -264,6 +264,7 @@ class XMLStream(asyncio.BaseProtocol):
self._session_started = True
for stanza in self.__queued_stanzas:
self.__queued_stanzas = []
def _set_disconnected(self, event):
self._session_started = False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment