plugin XEP-0054: fixed not transmitted arguments in getAvatar
This commit is contained in:
parent
4dee63d105
commit
acecf724f3
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue