fix zeroconf

This commit is contained in:
Yann Leboulanger 2008-08-07 11:46:07 +00:00
parent c7d33bb68e
commit cb0049a1cb
1 changed files with 2 additions and 1 deletions

View File

@ -1632,7 +1632,8 @@ class RosterWindow:
gajim.contacts.add_account(account)
if account not in gajim.groups:
gajim.groups[account] = {}
for jid in array:
# .keys() is needed
for jid in array.keys():
# Remove the contact in roster. It might has changed
self.remove_contact(jid, account, force = True)
# Remove old Contact instances