Philipp Hörist pushed to branch master at gajim / gajim

Commits:
80aee95f by Philipp Hörist at 2018-07-29T17:35:45Z
Reset connect_maschine after disconnect on purpose

- - - - -


1 changed file:

- gajim/common/modules/discovery.py


Changes:

=====================================
gajim/common/modules/discovery.py
=====================================
--- a/gajim/common/modules/discovery.py
+++ b/gajim/common/modules/discovery.py
@@ -179,6 +179,7 @@ class Discovery:
         self._con.get_module('PubSub').pass_disco(from_, *args)
 
     def discover_server_info(self):
+        # Calling this method starts the connect_maschine()
         server = self._con.get_own_jid().getDomain()
         self.disco_info(server, success_cb=self._server_info_received)
 
@@ -199,7 +200,7 @@ class Discovery:
         if nbxmpp.NS_ADDRESS in features:
             self._con.addressing_supported = True
 
-        self._con.connect_machine()
+        self._con.connect_machine(restart=True)
 
     def _parse_transports(self, from_, identities, features, data, node):
         for identity in identities:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/80aee95f2ec38dfea321adbfc8c0161f49879a9c

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/80aee95f2ec38dfea321adbfc8c0161f49879a9c
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to