Mercurial > libervia-desktop-kivy
changeset 121:c498178d8122
chat: fixed file sending:
the issue was the same as for OTR, jid.JID must be casted to unicode before crossing pb bridge.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 31 Jan 2017 23:11:49 +0100 |
parents | 51e804dbf608 |
children | dcd6fbb3f010 |
files | src/cagou/plugins/plugin_wid_chat.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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))