changeset 489:8f3cb8cd84d6

plugin (chat): fix `fileSend` call
author Goffi <goffi@goffi.org>
date Fri, 07 Apr 2023 15:22:31 +0200
parents beedff600d2b
children 962d17c4078c
files cagou/plugins/plugin_wid_chat.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.py	Sat Oct 15 20:20:10 2022 +0200
+++ b/cagou/plugins/plugin_wid_chat.py	Fri Apr 07 15:22:31 2023 +0200
@@ -1073,7 +1073,7 @@
                 jid_ = self.target
                 if not jid_.resource:
                     jid_ = G.host.contact_lists[self.profile].getFullJid(jid_)
-                G.host.bridge.fileSend(str(jid_), str(file_path), "", "", {},
+                G.host.bridge.fileSend(str(jid_), str(file_path), "", "", "",
                                        profile=self.profile)
                 # TODO: notification of sending/failing
         else: