plugin XEP-0054: fixed not transmitted arguments in getAvatar

This commit is contained in:
Goffi 2017-06-03 22:24:53 +02:00
commit acecf724f3

View file

@ -341,7 +341,7 @@ class XEP_0054(object):
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