diff src/core/xmpp.py @ 953:4a577b170809

plugin xep-0115: caps optimisation
author Goffi <goffi@goffi.org>
date Mon, 31 Mar 2014 12:24:20 +0200
parents 61c4755f0394
children 9393dc29aaf3
line wrap: on
line diff
--- a/src/core/xmpp.py	Mon Mar 31 12:23:13 2014 +0200
+++ b/src/core/xmpp.py	Mon Mar 31 12:24:20 2014 +0200
@@ -286,7 +286,7 @@
         self.host = host
 
     def send(self, obj):
-        if not self.host.trigger.point("Presence send", obj):
+        if not self.host.trigger.point("Presence send", self.parent, obj):
             return
         super(SatPresenceProtocol, self).send(obj)