Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0033.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_0033.py Mon May 15 17:19:54 2023 +0200 +++ b/sat/plugins/plugin_xep_0033.py Mon May 29 13:32:08 2023 +0200 @@ -79,7 +79,7 @@ host.trigger.add( "sendMessage", self.send_message_trigger, trigger.TriggerManager.MIN_PRIORITY ) - host.trigger.add("messageReceived", self.message_received_trigger) + host.trigger.add("message_received", self.message_received_trigger) def send_message_trigger( self, client, mess_data, pre_xml_treatments, post_xml_treatments