From 1660488da6843a621227376a42e1d4234152440e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 30 Oct 2013 12:40:31 +0100 Subject: [PATCH] fix enabling / disabling accounts while creating a new one. Fixes #7477 --- src/roster_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index 4a9932856..8997700aa 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1432,7 +1432,10 @@ class RosterWindow: def _after_fill(self): self.starting = False + accounts_list = gajim.contacts.get_accounts() for account in gajim.connections: + if account not in accounts_list: + continue jids = gajim.contacts.get_jid_list(account) for jid in jids: