From 469bbd29006cdf660e7a2deaf171ec71c1f1c031 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 12 Jan 2011 06:49:33 +0100 Subject: /add and /remove commands, yay --- src/roster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/roster.py') 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): -- cgit v1.2.3