quick_frontends, primitivus: know who are the MUC occupants from the presence informations:
- QuickChat.occupants is now a property using cached information
- some MUC handlers are no more needed, the presence handler is enough
This commit is contained in:
parent
c2314640ba
commit
c6419871ac
1 changed files with 21 additions and 58 deletions
|
|
@ -148,10 +148,6 @@ class ContactList(PrimitivusWidget, QuickContactList):
|
|||
self.update()
|
||||
self._emit('click', entity)
|
||||
|
||||
def onPresenceUpdate(self, entity, show, priority, statuses, profile):
|
||||
super(ContactList, self).onPresenceUpdate(entity, show, priority, statuses, profile)
|
||||
self.update()
|
||||
|
||||
def onNickUpdate(self, entity, new_nick, profile):
|
||||
self.update()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue