diff 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
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_list.py	Mon Feb 23 18:47:27 2015 +0100
+++ b/src/browser/sat_browser/contact_list.py	Tue Feb 24 14:40:47 2015 +0100
@@ -562,11 +562,12 @@
         """
         self._contacts_panel.updateAvatar(jid_s, url)
 
-    def onAvatarUpdate(self, jid_, hash_):
+    def onAvatarUpdate(self, jid_, hash_, profile):
         """Called on avatar update events
 
         @param jid_: jid of the entity with updated avatar
         @param hash_: hash of the avatar
+        @param profile: %(doc_profile)s
         """
         self._contacts_panel.updateAvatar(jid_, self.host.getAvatarURL(jid_))