From a39d68d4aeb5402fdf48f49df2cc82e636259f7f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Mon, 11 Dec 2017 21:13:53 +0100 Subject: [PATCH] when internet connection is back, only connect accounts that were connected before connection broke --- gajim/gui_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/gui_interface.py b/gajim/gui_interface.py index 4ab1c84d94..96c8b4972c 100644 --- 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: -- GitLab