diff sat/plugins/plugin_xep_0045.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 6cf4bd6972c2
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0045.py	Tue Feb 18 18:13:18 2020 +0100
+++ b/sat/plugins/plugin_xep_0045.py	Tue Feb 18 18:13:19 2020 +0100
@@ -157,7 +157,7 @@
 
         host.trigger.add("presence_available", self.presenceTrigger)
         host.trigger.add("presence_received", self.presenceReceivedTrigger)
-        host.trigger.add("MessageReceived", self.messageReceivedTrigger, priority=1000000)
+        host.trigger.add("messageReceived", self.messageReceivedTrigger, priority=1000000)
         host.trigger.add("message_parse", self._message_parseTrigger)
 
     def profileConnected(self, client):