Mercurial > libervia-backend
comparison frontends/src/wix/contact_list.py @ 502:debcf5dd404a
QuickFrontend, Primitivus, Wix: special entities management:
- MUC rooms are special entities
- Primitivus: special entities are shown at the top of the contacts list above a divider,
presence updates are temporary ignored for them
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 25 Sep 2012 23:10:22 +0200 |
parents | e9634d2e7b38 |
children | 886754295efe |
comparison
equal
deleted
inserted
replaced
501:e9634d2e7b38 | 502:debcf5dd404a |
---|---|
166 | 166 |
167 _present = self.__presentItem(contact) | 167 _present = self.__presentItem(contact) |
168 if _present: | 168 if _present: |
169 self.Insert(_present, gp_idx+1, contact) | 169 self.Insert(_present, gp_idx+1, contact) |
170 | 170 |
171 def setSpecial(self, special_jid, special_type): | |
172 pass | |
171 | 173 |
172 | 174 |
173 def remove(self, contact): | 175 def remove(self, contact): |
174 """remove a contact from the list""" | 176 """remove a contact from the list""" |
175 debug (_("removing %s"), contact) | 177 debug (_("removing %s"), contact) |