summaryrefslogtreecommitdiff
path: root/src/roster.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-12 06:49:33 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-12 06:49:33 +0100
commit469bbd29006cdf660e7a2deaf171ec71c1f1c031 (patch)
tree2e3369328fb78fe725713ae057b4424f375b75d6 /src/roster.py
parente016305c2bea51c9bd2ccc8d2571f7fcea672079 (diff)
downloadpoezio-469bbd29006cdf660e7a2deaf171ec71c1f1c031.tar.gz
poezio-469bbd29006cdf660e7a2deaf171ec71c1f1c031.tar.bz2
poezio-469bbd29006cdf660e7a2deaf171ec71c1f1c031.tar.xz
poezio-469bbd29006cdf660e7a2deaf171ec71c1f1c031.zip
/add and /remove commands, yay
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):