comparison sat/plugins/plugin_xep_0085.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
comparison
equal deleted inserted replaced
3171:d073d82d9044 3172:dcebc585c29f
104 104
105 # parameter value is retrieved before each use 105 # parameter value is retrieved before each use
106 host.memory.updateParams(self.params) 106 host.memory.updateParams(self.params)
107 107
108 # triggers from core 108 # triggers from core
109 host.trigger.add("MessageReceived", self.messageReceivedTrigger) 109 host.trigger.add("messageReceived", self.messageReceivedTrigger)
110 host.trigger.add("sendMessage", self.sendMessageTrigger) 110 host.trigger.add("sendMessage", self.sendMessageTrigger)
111 host.trigger.add("paramUpdateTrigger", self.paramUpdateTrigger) 111 host.trigger.add("paramUpdateTrigger", self.paramUpdateTrigger)
112 112
113 # args: to_s (jid as string), profile 113 # args: to_s (jid as string), profile
114 host.bridge.addMethod( 114 host.bridge.addMethod(