summaryrefslogtreecommitdiff
path: root/src/roster.py
diff options
context:
space:
mode:
authorTodd Eisenberger <todd@teisen.be>2011-10-01 05:26:19 -0700
committerTodd Eisenberger <todd@teisen.be>2011-10-01 05:26:19 -0700
commitd02c764c477d900487a97f648260612046257a17 (patch)
treed66fe7d008d1ff1e4089907b3a52372a4a8ca4f6 /src/roster.py
parent7683bf92a78e9cfeefdb35dfbd9e65e65597e4df (diff)
downloadpoezio-d02c764c477d900487a97f648260612046257a17.tar.gz
poezio-d02c764c477d900487a97f648260612046257a17.tar.bz2
poezio-d02c764c477d900487a97f648260612046257a17.tar.xz
poezio-d02c764c477d900487a97f648260612046257a17.zip
More contact management commands
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):