diff cagou/plugins/plugin_wid_chat.py @ 295:fdbb07f1e373

we are in dev version again
author Goffi <goffi@goffi.org>
date Tue, 14 May 2019 19:23:19 +0200
parents 717c6c368f70
children fe8639e64c69
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.py	Sun May 05 21:35:38 2019 +0200
+++ b/cagou/plugins/plugin_wid_chat.py	Tue May 14 19:23:19 2019 +0200
@@ -642,9 +642,9 @@
             cleaning_cb()
         msg = _(u"can't transfer file: {reason}").format(reason=err_msg)
         log.warning(msg)
-        self.addNote(_(u"File transfer error"),
-                     msg,
-                     level=C.XMLUI_DATA_LVL_WARNING)
+        G.host.addNote(_(u"File transfer error"),
+                       msg,
+                       level=C.XMLUI_DATA_LVL_WARNING)
 
     def fileTransferCb(self, metadata, cleaning_cb, profile):
         log.debug("file transfered: {}".format(metadata))