diff src/plugins/plugin_exp_parrot.py @ 602:6fd1095b2b7b

core: sendMessage refactoring: - sendMessage now use JID instead of unicode, bridge method using unicode is now _sendMessage - added no_trigger argument, so it's now possible to forbid trigger execution (to avoid any plugin when we send a message)
author Goffi <goffi@goffi.org>
date Fri, 22 Feb 2013 00:15:50 +0100
parents e629371a28d3
children 1d6f48ae31d1
line wrap: on
line diff
--- a/src/plugins/plugin_exp_parrot.py	Fri Feb 22 00:11:47 2013 +0100
+++ b/src/plugins/plugin_exp_parrot.py	Fri Feb 22 00:15:50 2013 +0100
@@ -94,7 +94,7 @@
 
                 linked = _links[from_jid.userhostJID()]
 
-                self.host.sendMessage(unicode(linked), msg, None, "auto", profile_key=profile)
+                self.host._sendMessage(unicode(linked), msg, None, "auto", profile_key=profile)
         else:
             warning("No body element found in message, following normal behaviour")