From cb0049a1cb341a99e3e54129535ee6a62c9d770f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Thu, 7 Aug 2008 11:46:07 +0000 Subject: [PATCH] fix zeroconf --- src/roster_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 321fb00730..75e8f6eb0c 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1632,7 +1632,8 @@ def fill_contacts_and_groups_dicts(self, array, account): 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 -- GitLab