comparison src/browser/sat_browser/contact_list.py @ 638:63697f082e8a frontends_multi_profiles

browser side: fixed use of profile for listeners
author Goffi <goffi@goffi.org>
date Tue, 24 Feb 2015 14:40:47 +0100
parents 7113d40533d6
children 8da4735a3c81
comparison
equal deleted inserted replaced
637:7113d40533d6 638:63697f082e8a
560 @param jid_s (unicode): contact jid 560 @param jid_s (unicode): contact jid
561 @param url (unicode): image url 561 @param url (unicode): image url
562 """ 562 """
563 self._contacts_panel.updateAvatar(jid_s, url) 563 self._contacts_panel.updateAvatar(jid_s, url)
564 564
565 def onAvatarUpdate(self, jid_, hash_): 565 def onAvatarUpdate(self, jid_, hash_, profile):
566 """Called on avatar update events 566 """Called on avatar update events
567 567
568 @param jid_: jid of the entity with updated avatar 568 @param jid_: jid of the entity with updated avatar
569 @param hash_: hash of the avatar 569 @param hash_: hash of the avatar
570 @param profile: %(doc_profile)s
570 """ 571 """
571 self._contacts_panel.updateAvatar(jid_, self.host.getAvatarURL(jid_)) 572 self._contacts_panel.updateAvatar(jid_, self.host.getAvatarURL(jid_))
572 573
573 def hasVisibleMembers(self, group): 574 def hasVisibleMembers(self, group):
574 """Tell if the given group actually has visible members 575 """Tell if the given group actually has visible members