Mercurial > libervia-backend
comparison sat/plugins/plugin_xep_0280.py @ 3172:dcebc585c29f
core: renamed "MessageReceived" trigger to "messageReceived" for consistency.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 18 Feb 2020 18:13:19 +0100 |
parents | 49962f9a238a |
children | be6d91572633 |
comparison
equal
deleted
inserted
replaced
3171:d073d82d9044 | 3172:dcebc585c29f |
---|---|
73 | 73 |
74 def __init__(self, host): | 74 def __init__(self, host): |
75 log.info(_("Plugin XEP_0280 initialization")) | 75 log.info(_("Plugin XEP_0280 initialization")) |
76 self.host = host | 76 self.host = host |
77 host.memory.updateParams(self.params) | 77 host.memory.updateParams(self.params) |
78 host.trigger.add("MessageReceived", self.messageReceivedTrigger, priority=200000) | 78 host.trigger.add("messageReceived", self.messageReceivedTrigger, priority=200000) |
79 | 79 |
80 def getHandler(self, client): | 80 def getHandler(self, client): |
81 return XEP_0280_handler() | 81 return XEP_0280_handler() |
82 | 82 |
83 def setPrivate(self, message_elt): | 83 def setPrivate(self, message_elt): |