Mercurial > libervia-desktop-kivy
comparison 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 |
comparison
equal
deleted
inserted
replaced
302:f55b60659ec1 | 303:fe8639e64c69 |
---|---|
691 # MUC | 691 # MUC |
692 else: | 692 else: |
693 jid_ = self.target | 693 jid_ = self.target |
694 if not jid_.resource: | 694 if not jid_.resource: |
695 jid_ = G.host.contact_lists[self.profile].getFullJid(jid_) | 695 jid_ = G.host.contact_lists[self.profile].getFullJid(jid_) |
696 G.host.bridge.fileSend(unicode(jid_), file_path, "", "", | 696 G.host.bridge.fileSend(unicode(jid_), file_path, "", "", {}, |
697 profile=self.profile) | 697 profile=self.profile) |
698 # TODO: notification of sending/failing | 698 # TODO: notification of sending/failing |
699 else: | 699 else: |
700 raise log.error(u"transfer of type {} are not handled".format(transfer_type)) | 700 raise log.error(u"transfer of type {} are not handled".format(transfer_type)) |
701 | 701 |