summaryrefslogtreecommitdiff
path: root/src/roster.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-10-29 07:20:10 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-10-29 07:20:10 +0200
commit0451127ff8a1b96772b58ff9e246621d0df4c99e (patch)
tree00a650ba6f909ee1977bedeb3001798f39a38a0a /src/roster.py
parentb98880b5269764ad69bb19262790d27b2575b174 (diff)
parentaa6738800d67c5061d7e551b3d896f3366296045 (diff)
downloadpoezio-0451127ff8a1b96772b58ff9e246621d0df4c99e.tar.gz
poezio-0451127ff8a1b96772b58ff9e246621d0df4c99e.tar.bz2
poezio-0451127ff8a1b96772b58ff9e246621d0df4c99e.tar.xz
poezio-0451127ff8a1b96772b58ff9e246621d0df4c99e.zip
Merge branch 'master' into plugins
Diffstat (limited to 'src/roster.py')
-rw-r--r--src/roster.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/roster.py b/src/roster.py
index fe68584b..4ef2da1b 100644
--- a/src/roster.py
+++ b/src/roster.py
@@ -90,6 +90,7 @@ class Roster(object):
for group in contact._groups:
if group not in groups:
# the contact is not in the group anymore
+ contact._groups.remove(group)
self.remove_contact_from_group(group, contact)
def remove_contact_from_group(self, group_name, contact):