sortilege fix: it launches again now

This commit is contained in:
Goffi 2010-06-29 16:07:51 +08:00
commit b191e5d64f
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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)