Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: c58e9751 by Philipp Hörist at 2018-12-08T00:16:11Z Count outgoing stanzas after session resume
- - - - -
1 changed file:
- nbxmpp/smacks.py
Changes:
===================================== nbxmpp/smacks.py ===================================== @@ -60,7 +60,6 @@ class Smacks(PlugIn):
self._session_id = None self._location = None - self._enable_sent = False
def get_resume_data(self): if self.resume_supported: @@ -128,7 +127,7 @@ class Smacks(PlugIn): self._in_h += 1
def save_in_queue(self, stanza): - if not self._enable_sent: + if not self._enable_sent and not self.resumed: # We did not yet sent 'enable' so the server # will not count our stanzas return
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/c58e9751d779d09cb3460db03dd...