diff src/plugins/plugin_xep_0054.py @ 2258:074c2f157dc9

plugin XEP-0054: fixed not transmitted arguments in getAvatar
author Goffi <goffi@goffi.org>
date Sat, 03 Jun 2017 22:24:53 +0200
parents cffa50c9f26b
children 8b37a62336c3
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0054.py	Mon May 22 23:58:26 2017 +0200
+++ b/src/plugins/plugin_xep_0054.py	Sat Jun 03 22:24:53 2017 +0200
@@ -341,7 +341,7 @@
 
     def _getAvatar(self, entity, cache_only, hash_only, profile):
         client = self.host.getClient(profile)
-        d = self.getAvatar(client, jid.JID(entity))
+        d = self.getAvatar(client, jid.JID(entity), cache_only, hash_only)
         d.addErrback(lambda dummy: '')
 
         return d