better test

This commit is contained in:
Yann Leboulanger 2010-08-27 11:47:29 +02:00
parent 854ca12b54
commit 719d2656e0
1 changed files with 1 additions and 0 deletions

View File

@ -1747,6 +1747,7 @@ class RosterWindow:
# Most of the logic SHOULD NOT be done at GUI level
if account not in gajim.contacts.get_accounts():
gajim.contacts.add_account(account)
if not account in self._iters:
self._iters[account] = {'account': None, 'groups': {},
'contacts': {}}
if account not in gajim.groups: