diff --git a/src/plugins/plugin_exp_command_export.py b/src/plugins/plugin_exp_command_export.py index cd542add..4b29c11e 100755 --- a/src/plugins/plugin_exp_command_export.py +++ b/src/plugins/plugin_exp_command_export.py @@ -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')) - diff --git a/src/plugins/plugin_xep_0054.py b/src/plugins/plugin_xep_0054.py index 91ef53b3..f672cc96 100755 --- a/src/plugins/plugin_xep_0054.py +++ b/src/plugins/plugin_xep_0054.py @@ -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