changeset 303:fe8639e64c69

chat: fixed call to fileSend fix 318
author Goffi <goffi@goffi.org>
date Tue, 09 Jul 2019 19:47:08 +0200
parents f55b60659ec1
children 00e2bcf0d9df
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	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: