Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_contact_list.py @ 543:a7f53e778d8e
quick frontend: fixed clearContacts
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 14 Nov 2012 20:56:04 +0100 |
parents | 886754295efe |
children | ca13633d3b6b |
comparison
equal
deleted
inserted
replaced
542:3eeb6c865e4d | 543:a7f53e778d8e |
---|---|
48 jid_cache[name] = value | 48 jid_cache[name] = value |
49 | 49 |
50 def __contains__(self, jid): | 50 def __contains__(self, jid): |
51 raise NotImplementedError | 51 raise NotImplementedError |
52 | 52 |
53 def clearContacts(self, jid): | 53 def clearContacts(self): |
54 """Clear all the contact list""" | 54 """Clear all the contact list""" |
55 self.specials.clear() | 55 self.specials.clear() |
56 | 56 |
57 def replace(self, jid, groups=None, attributes=None): | 57 def replace(self, jid, groups=None, attributes=None): |
58 """add a contact to the list if doesn't exist, else update it""" | 58 """add a contact to the list if doesn't exist, else update it""" |