diff src/core/xmpp.py @ 697:0c84fb112d70

core: sendMessage triggers now use a treatments deferred; - treaments deferred can be used by plugins to change XML elements before sending them, in a similar way as for newMessage - sendMessageXml trigger became useless, so it as been removed in favor of the new deferred
author Goffi <goffi@goffi.org>
date Wed, 13 Nov 2013 13:57:36 +0100
parents ffb716804580
children ade9997fabfa
line wrap: on
line diff
--- a/src/core/xmpp.py	Tue Nov 12 16:56:34 2013 +0100
+++ b/src/core/xmpp.py	Wed Nov 13 13:57:36 2013 +0100
@@ -112,7 +112,7 @@
 
     def onMessage(self, message):
         debug(_(u"got message from: %s"), message["from"])
-        post_treat = defer.Deferred() # XXX: plugin can add there treatments to this deferred
+        post_treat = defer.Deferred() # XXX: plugin can add their treatments to this deferred
 
         if not self.host.trigger.point("MessageReceived", message, post_treat, profile=self.parent.profile):
             return