diff cagou/plugins/plugin_wid_chat.py @ 489:8f3cb8cd84d6

plugin (chat): fix `fileSend` call
author Goffi <goffi@goffi.org>
date Fri, 07 Apr 2023 15:22:31 +0200
parents 3c9ba4a694ef
children 962d17c4078c
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: