Mercurial > libervia-backend
diff frontends/src/quick_frontend/quick_contact_list.py @ 1377:017270e6eea4
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
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 20 Mar 2015 16:25:38 +0100 |
parents | ec9e58357a07 |
children | 1276e6a0716b |
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_contact_list.py Thu Mar 19 20:40:10 2015 +0100 +++ b/frontends/src/quick_frontend/quick_contact_list.py Fri Mar 20 16:25:38 2015 +0100 @@ -403,6 +403,7 @@ priority_resource = max(resources_data, key=lambda res: resources_data[res][C.PRESENCE_PRIORITY]) cache[C.CONTACT_MAIN_RESOURCE] = priority_resource + self.update() def onNickUpdate(self, entity, new_nick, profile): """Update entity's nick