Mercurial > libervia-backend
comparison sat/plugins/plugin_xep_0424.py @ 4051:c23cad65ae99
core: renamed `messageReceived` trigger to `message_received`
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 29 May 2023 13:32:08 +0200 |
parents | 524856bd7b19 |
children |
comparison
equal
deleted
inserted
replaced
4050:199473ffe4ea | 4051:c23cad65ae99 |
---|---|
72 self.host = host | 72 self.host = host |
73 host.memory.update_params(PARAMS) | 73 host.memory.update_params(PARAMS) |
74 self._h = host.plugins["XEP-0334"] | 74 self._h = host.plugins["XEP-0334"] |
75 self._f = host.plugins["XEP-0422"] | 75 self._f = host.plugins["XEP-0422"] |
76 host.register_namespace("message-retract", NS_MESSAGE_RETRACT) | 76 host.register_namespace("message-retract", NS_MESSAGE_RETRACT) |
77 host.trigger.add("messageReceived", self._message_received_trigger, 100) | 77 host.trigger.add("message_received", self._message_received_trigger, 100) |
78 host.bridge.add_method( | 78 host.bridge.add_method( |
79 "message_retract", | 79 "message_retract", |
80 ".plugin", | 80 ".plugin", |
81 in_sign="ss", | 81 in_sign="ss", |
82 out_sign="", | 82 out_sign="", |