summaryrefslogtreecommitdiff
path: root/poezio/roster.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/roster.py')
-rw-r--r--poezio/roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/roster.py b/poezio/roster.py
index 89925e07..b36442d6 100644
--- a/poezio/roster.py
+++ b/poezio/roster.py
@@ -214,7 +214,7 @@ class Roster(object):
group.remove(contact)
for group in contact.groups:
- if not group in self.groups:
+ if group not in self.groups:
self.groups[group] = RosterGroup(group, folded=group in self.folded_groups)
self.groups[group].add(contact)