diff --git a/frontends/quick_frontend/quick_contact_list.py b/frontends/quick_frontend/quick_contact_list.py index 3cb7b8e3..7f47e86e 100644 --- a/frontends/quick_frontend/quick_contact_list.py +++ b/frontends/quick_frontend/quick_contact_list.py @@ -37,7 +37,7 @@ class QuickContactList(): """Clear all the contact list""" raise NotImplementedError - def replace(self, jid): + def replace(self, jid, groups=None): """add a contact to the list if doesn't exist, else update it""" raise NotImplementedError diff --git a/frontends/sortilege/sortilege b/frontends/sortilege/sortilege index 1c8258dc..565fb76e 100755 --- a/frontends/sortilege/sortilege +++ b/frontends/sortilege/sortilege @@ -107,7 +107,7 @@ class ContactList(Window, QuickContactList): self.__index = 0 self.update() #FIXME: window is not updated correctly (contacts are still here until C-L) - def replace(self, jid): + def replace(self, jid, groups=None): """add a contact to the list""" name = self.CM.getAttr(jid,'name') self.jid_list.append(jid.short)