plugin xep-0115: caps optimisation
This commit is contained in:
parent
c6884f14d5
commit
e488c674a9
1 changed files with 20 additions and 3 deletions
|
|
@ -286,7 +286,7 @@ class SatPresenceProtocol(xmppim.PresenceClientProtocol):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue