From 33f16cd959e64371168d5772d0e6ae1e7ef45013 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 10 Mar 2010 22:43:55 +0100 Subject: [PATCH] don't disconnect an account that is not fully connected. Fixes #5648 --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 9f0d61de5..14cb4ec25 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2343,7 +2343,7 @@ class RosterWindow: self.quit_on_next_offline = 0 accounts_to_disconnect = [] for acct in accounts: - if gajim.connections[acct].connected: + if gajim.connections[acct].connected > 1: self.quit_on_next_offline += 1 accounts_to_disconnect.append(acct)