Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
a39d68d4 by Yann Leboulanger at 2017-12-11T21:13:53+01:00
when internet connection is back, only connect accounts that were
connected before connection broke

- - - - -


1 changed file:

- gajim/gui_interface.py


Changes:

=====================================
gajim/gui_interface.py
=====================================
--- a/gajim/gui_interface.py
+++ b/gajim/gui_interface.py
@@ -2622,7 +2622,7 @@ class Interface:
         self.network_state = connected
         if connected:
             for connection in app.connections.values():
-                if connection.connected <= 0:
+                if connection.connected <= 0 and connection.time_to_reconnect:
                     log.info('Connect %s', connection.name)
                     connection.reconnect()
         else:



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

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