From 8fe39540a4793e854a70ba5865d82f686c0b9258 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 30 Jul 2013 20:33:35 +0200 Subject: Fix an issue with roster loading (why did that even work before) --- src/roster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/roster.py b/src/roster.py index a288ec4d..d6fed94f 100644 --- a/src/roster.py +++ b/src/roster.py @@ -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: return for name, group in self.groups.items(): -- cgit v1.2.3