plugin XEP-0054: fixed not transmitted arguments in getAvatar
This commit is contained in:
parent
4dee63d105
commit
acecf724f3
2 changed files with 1 additions and 2 deletions
|
|
@ -154,4 +154,3 @@ class CommandExport(object):
|
|||
process_prot = ExportCommandProtocol(self, client, _jid, options)
|
||||
self.spawned.setdefault((_jid, client.profile),set()).add(process_prot)
|
||||
reactor.spawnProcess(process_prot, command, args, usePTY = process_prot.boolOption('pty'))
|
||||
|
||||
|
|
|
|||
|
|
@ -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