summaryrefslogtreecommitdiff
path: root/src/roster.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/roster.py')
-rw-r--r--src/roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster.py b/src/roster.py
index 1fd1099d..a299ba12 100644
--- a/src/roster.py
+++ b/src/roster.py
@@ -45,7 +45,7 @@ class Roster(object):
"""
contact = self.get_contact_by_jid(jid)
for group in contact._groups:
- group.remove_contact_from_group(contact)
+ self.remove_contact_from_group(group, contact)
del self._contacts[jid]
def get_contact_len(self):