diff options
author | mathieui <mathieui@mathieui.net> | 2013-07-30 20:33:35 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-07-01 17:58:49 +0200 |
commit | 8fe39540a4793e854a70ba5865d82f686c0b9258 (patch) | |
tree | 459bdcbd29c4bcd398e698568effceda12817f7b /src | |
parent | f8aa0f9826735aa254b89c6df902004318b5bf16 (diff) | |
download | poezio-8fe39540a4793e854a70ba5865d82f686c0b9258.tar.gz poezio-8fe39540a4793e854a70ba5865d82f686c0b9258.tar.bz2 poezio-8fe39540a4793e854a70ba5865d82f686c0b9258.tar.xz poezio-8fe39540a4793e854a70ba5865d82f686c0b9258.zip |
Fix an issue with roster loading
(why did that even work before)
Diffstat (limited to 'src')
-rw-r--r-- | src/roster.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |