fix enabling / disabling accounts while creating a new one. Fixes #7477

This commit is contained in:
Yann Leboulanger 2013-10-30 12:40:31 +01:00
parent e50dad792f
commit 1660488da6
1 changed files with 3 additions and 0 deletions

View File

@ -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: