Merge branch 'disconnected-stanzas-no-resend' into 'master'
xmlstream: do not re-send queued stanzas on each connect See merge request poezio/slixmpp!163
This commit is contained in:
commit
b7f0160c0d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue