diff sat/plugins/plugin_xep_0033.py @ 3172:dcebc585c29f

core: renamed "MessageReceived" trigger to "messageReceived" for consistency.
author Goffi <goffi@goffi.org>
date Tue, 18 Feb 2020 18:13:19 +0100
parents 559a625a236b
children 888109774673
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0033.py	Tue Feb 18 18:13:18 2020 +0100
+++ b/sat/plugins/plugin_xep_0033.py	Tue Feb 18 18:13:19 2020 +0100
@@ -79,7 +79,7 @@
         host.trigger.add(
             "sendMessage", self.sendMessageTrigger, trigger.TriggerManager.MIN_PRIORITY
         )
-        host.trigger.add("MessageReceived", self.messageReceivedTrigger)
+        host.trigger.add("messageReceived", self.messageReceivedTrigger)
 
     def sendMessageTrigger(
         self, client, mess_data, pre_xml_treatments, post_xml_treatments