# HG changeset patch # User Goffi # Date 1485900709 -3600 # Node ID c498178d812224a708a45c9ff878ccdc4b8b9be3 # Parent 51e804dbf6084c03717edfc2cdd1d84c53d07d3f chat: fixed file sending: the issue was the same as for OTR, jid.JID must be casted to unicode before crossing pb bridge. diff -r 51e804dbf608 -r c498178d8122 src/cagou/plugins/plugin_wid_chat.py --- a/src/cagou/plugins/plugin_wid_chat.py Tue Jan 31 22:51:29 2017 +0100 +++ b/src/cagou/plugins/plugin_wid_chat.py Tue Jan 31 23:11:49 2017 +0100 @@ -391,7 +391,7 @@ jid_ = self.target if not jid_.resource: jid_ = G.host.contact_lists[self.profile].getFullJid(jid_) - G.host.bridge.fileSend(jid_, file_path, "", "", profile=self.profile) + G.host.bridge.fileSend(unicode(jid_), file_path, "", "", profile=self.profile) # TODO: notification of sending/failing else: raise log.error(u"transfer of type {} are not handled".format(transfer_type))