Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0424.py Mon May 15 17:19:54 2023 +0200 +++ b/sat/plugins/plugin_xep_0424.py Mon May 29 13:32:08 2023 +0200 @@ -74,7 +74,7 @@ self._h = host.plugins["XEP-0334"] self._f = host.plugins["XEP-0422"] host.register_namespace("message-retract", NS_MESSAGE_RETRACT) - host.trigger.add("messageReceived", self._message_received_trigger, 100) + host.trigger.add("message_received", self._message_received_trigger, 100) host.bridge.add_method( "message_retract", ".plugin",