Commit 8fe39540 authored by mathieui's avatar mathieui

Fix an issue with roster loading

(why did that even work before)
parent f8aa0f98
......@@ -200,7 +200,7 @@ class Roster(object):
def update_contact_groups(self, contact):
"""Regenerate the RosterGroups when receiving a contact update"""
if not isinstance(contact, Contact):
contact = self[contact]
contact = self.get_and_set(contact)
if not contact:
for name, group in self.groups.items():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment