Mercurial > libervia-web
changeset 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 (2015-02-24) |
parents | 63697f082e8a |
children | 75715f5c95e3 |
files | src/browser/sat_browser/contact_list.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_list.py Tue Feb 24 14:40:47 2015 +0100 +++ b/src/browser/sat_browser/contact_list.py Tue Feb 24 16:48:41 2015 +0100 @@ -597,8 +597,8 @@ """ return C.bool(self.host.getCachedParam('General', C.SHOW_EMPTY_GROUPS)) - def updatePresence(self, entity, show, priority, statuses): - QuickContactList.updatePresence(self, entity, show, priority, statuses) + def onPresenceUpdate(self, entity, show, priority, statuses, profile): + QuickContactList.onPresenceUpdate(self, entity, show, priority, statuses, profile) entity_bare = entity.bare show = self.getCache(entity_bare, C.PRESENCE_SHOW) # we use cache to have the show nformation of main resource only self._contacts_panel.setState(entity_bare, "availability", show)