Philipp Hörist pushed to branch master at gajim / python-nbxmpp

Commits:
483a893c by Philipp Hörist at 2018-12-03T19:56:21Z
Dont disconnect when server negotiates sessions

Fixes #62

- - - - -


1 changed file:

- nbxmpp/auth_nb.py


Changes:

=====================================
nbxmpp/auth_nb.py
=====================================
@@ -647,8 +647,8 @@ class NonBlockingBind(PlugIn):
             self._on_bind_successful()
         else:
             log.error('Session open failed')
-        self._owner.Connection.start_disconnect()
-        self._owner.Dispatcher.Event(Realm.CONNECTING, Event.SESSION_FAILED)
+            self._owner.Connection.start_disconnect()
+            self._owner.Dispatcher.Event(Realm.CONNECTING, 
Event.SESSION_FAILED)
         self.PlugOut()
 
     def _on_bind_successful(self):



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/commit/483a893c577bc2b73ca23fc8318cade11be7361b

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/commit/483a893c577bc2b73ca23fc8318cade11be7361b
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

Reply via email to