diff frontends/src/primitivus/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 1679ac59f701
children 3511ff4b40a0
line wrap: on
line diff
--- a/frontends/src/primitivus/contact_list.py	Thu Mar 19 20:40:10 2015 +0100
+++ b/frontends/src/primitivus/contact_list.py	Fri Mar 20 16:25:38 2015 +0100
@@ -148,10 +148,6 @@
         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()