diff cagou/plugins/plugin_wid_chat.py @ 303:fe8639e64c69

chat: fixed call to fileSend fix 318
author Goffi <goffi@goffi.org>
date Tue, 09 Jul 2019 19:47:08 +0200
parents fdbb07f1e373
children 772c170b47a9
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.py	Fri Jun 28 13:02:11 2019 +0200
+++ b/cagou/plugins/plugin_wid_chat.py	Tue Jul 09 19:47:08 2019 +0200
@@ -693,7 +693,7 @@
                 jid_ = self.target
                 if not jid_.resource:
                     jid_ = G.host.contact_lists[self.profile].getFullJid(jid_)
-                G.host.bridge.fileSend(unicode(jid_), file_path, "", "",
+                G.host.bridge.fileSend(unicode(jid_), file_path, "", "", {},
                                        profile=self.profile)
                 # TODO: notification of sending/failing
         else: