Commit b7f0160c authored by mathieui's avatar mathieui

Merge branch 'disconnected-stanzas-no-resend' into 'master'

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

See merge request !163
parents 6f4ac7e7 528553be
Pipeline #3945 passed with stages
in 6 minutes and 9 seconds
......@@ -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