diff sat/plugins/plugin_xep_0444.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_0444.py	Mon May 15 17:19:54 2023 +0200
+++ b/sat/plugins/plugin_xep_0444.py	Mon May 29 13:32:08 2023 +0200
@@ -64,7 +64,7 @@
             method=self._reactions_set,
             async_=True,
         )
-        host.trigger.add("messageReceived", self._message_received_trigger)
+        host.trigger.add("message_received", self._message_received_trigger)
 
     def get_handler(self, client):
         return XEP_0444_Handler()