diff --git a/src/common/contacts.py b/src/common/contacts.py index d5a14ed06..e2f6c5608 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -165,7 +165,7 @@ class Contacts: return del self._contacts[account][jid] if self._parent_meta_contacts[account].has_key(jid): - remove_subcontact(account, jid) + self.remove_subcontact(account, jid) if self._children_meta_contacts[account].has_key(jid): for cjid in self._children_meta_contacts[account][jid]: self.remove_subcontact(account, cjid)