Mercurial > libervia-web
comparison src/browser/sat_browser/contact_list.py @ 639:8da4735a3c81 frontends_multi_profiles
browser side (contact list): fixed forgotten profile argument in presence listener
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 24 Feb 2015 16:48:41 +0100 |
parents | 63697f082e8a |
children | 75715f5c95e3 |
comparison
equal
deleted
inserted
replaced
638:63697f082e8a | 639:8da4735a3c81 |
---|---|
595 | 595 |
596 @return: boolean | 596 @return: boolean |
597 """ | 597 """ |
598 return C.bool(self.host.getCachedParam('General', C.SHOW_EMPTY_GROUPS)) | 598 return C.bool(self.host.getCachedParam('General', C.SHOW_EMPTY_GROUPS)) |
599 | 599 |
600 def updatePresence(self, entity, show, priority, statuses): | 600 def onPresenceUpdate(self, entity, show, priority, statuses, profile): |
601 QuickContactList.updatePresence(self, entity, show, priority, statuses) | 601 QuickContactList.onPresenceUpdate(self, entity, show, priority, statuses, profile) |
602 entity_bare = entity.bare | 602 entity_bare = entity.bare |
603 show = self.getCache(entity_bare, C.PRESENCE_SHOW) # we use cache to have the show nformation of main resource only | 603 show = self.getCache(entity_bare, C.PRESENCE_SHOW) # we use cache to have the show nformation of main resource only |
604 self._contacts_panel.setState(entity_bare, "availability", show) | 604 self._contacts_panel.setState(entity_bare, "availability", show) |
605 self.update() | 605 self.update() |
606 | 606 |