Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
39738213 by Philipp Hörist at 2018-11-27T17:52:42Z
Fix sm resume
- - - - -
2 changed files:
- nbxmpp/client_nb.py
- nbxmpp/smacks.py
Changes:
=====================================
nbxmpp/client_nb.py
=====================================
@@ -586,10 +586,9 @@ class NonBlockingClient(object):
elif self.SASL.startsasl == 'success':
self.connected += '+sasl'
self.Dispatcher.Event(Realm.CONNECTING, Event.AUTH_SUCCESSFUL)
+ self._owner.Smacks.register_handlers()
def bind(self):
- self._owner.Smacks.register_handlers()
-
# Check if we can resume
if self._owner.Smacks.resume_supported:
self._owner.Smacks.resume_request()
=====================================
nbxmpp/smacks.py
=====================================
@@ -279,7 +279,7 @@ class Smacks(PlugIn):
self._owner.Dispatcher.Event(Realm.CONNECTING, Event.RESUME_FAILED)
# We failed while resuming
self.resume_supported = False
- self._owner.start_bind()
+ self._owner.bind()
self._reset_state()
def _reset_state(self):
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/commit/397382139300c7b992934c6c3eaa2faf170bc634
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/commit/397382139300c7b992934c6c3eaa2faf170bc634
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits