Mercurial > libervia-backend
diff sat/core/xmpp.py @ 2820:7ab8684784c6
core: renamed presenceReceived to presence_reveiced + use "client" as first arguments instead of "profile"
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Mar 2019 12:12:50 +0100 |
parents | 33fa70c102de |
children | 368a60f05d0e |
line wrap: on
line diff
--- a/sat/core/xmpp.py Fri Mar 01 12:11:16 2019 +0100 +++ b/sat/core/xmpp.py Fri Mar 01 12:12:50 2019 +0100 @@ -1247,7 +1247,7 @@ statuses[C.PRESENCE_STATUSES_DEFAULT] = statuses.pop(None) if not self.host.trigger.point( - "presenceReceived", entity, show, priority, statuses, self.parent.profile + "presence_received", self.parent, entity, show, priority, statuses ): return @@ -1273,7 +1273,7 @@ statuses[C.PRESENCE_STATUSES_DEFAULT] = statuses.pop(None) if not self.host.trigger.point( - "presenceReceived", entity, "unavailable", 0, statuses, self.parent.profile + "presence_received", self.parent, entity, C.PRESENCE_UNAVAILABLE, 0, statuses, ): return