fix enabling / disabling accounts while creating a new one. Fixes #7477
This commit is contained in:
parent
e50dad792f
commit
1660488da6
|
@ -1432,7 +1432,10 @@ class RosterWindow:
|
||||||
|
|
||||||
def _after_fill(self):
|
def _after_fill(self):
|
||||||
self.starting = False
|
self.starting = False
|
||||||
|
accounts_list = gajim.contacts.get_accounts()
|
||||||
for account in gajim.connections:
|
for account in gajim.connections:
|
||||||
|
if account not in accounts_list:
|
||||||
|
continue
|
||||||
|
|
||||||
jids = gajim.contacts.get_jid_list(account)
|
jids = gajim.contacts.get_jid_list(account)
|
||||||
for jid in jids:
|
for jid in jids:
|
||||||
|
|
Loading…
Reference in New Issue