diff sat/plugins/plugin_xep_0353.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 3900626bc100
children 38819c69aa39
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0353.py	Mon May 15 17:19:54 2023 +0200
+++ b/sat/plugins/plugin_xep_0353.py	Mon May 29 13:32:08 2023 +0200
@@ -55,7 +55,7 @@
         host.register_namespace("jingle-message", NS_JINGLE_MESSAGE)
         self._j = host.plugins["XEP-0166"]
         host.trigger.add("XEP-0166_initiate", self._on_initiate_trigger)
-        host.trigger.add("messageReceived", self._on_message_received)
+        host.trigger.add("message_received", self._on_message_received)
 
     def get_handler(self, client):
         return Handler()