Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Merge branch 'disconnected-stanzas-no-resend' into 'master'
Browse files Browse the repository at this point in the history
xmlstream: do not re-send queued stanzas on each connect

See merge request poezio/slixmpp!163
  • Loading branch information
mathieui committed May 2, 2021
2 parents 6f4ac7e + 528553b commit b7f0160
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slixmpp/xmlstream/xmlstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def _set_session_start(self, event):
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
Expand Down

0 comments on commit b7f0160

Please sign in to comment.