comparison 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
comparison
equal deleted inserted replaced
3171:d073d82d9044 3172:dcebc585c29f
155 self._mam = self.host.plugins.get("XEP-0313") 155 self._mam = self.host.plugins.get("XEP-0313")
156 self._si = self.host.plugins["XEP-0359"] 156 self._si = self.host.plugins["XEP-0359"]
157 157
158 host.trigger.add("presence_available", self.presenceTrigger) 158 host.trigger.add("presence_available", self.presenceTrigger)
159 host.trigger.add("presence_received", self.presenceReceivedTrigger) 159 host.trigger.add("presence_received", self.presenceReceivedTrigger)
160 host.trigger.add("MessageReceived", self.messageReceivedTrigger, priority=1000000) 160 host.trigger.add("messageReceived", self.messageReceivedTrigger, priority=1000000)
161 host.trigger.add("message_parse", self._message_parseTrigger) 161 host.trigger.add("message_parse", self._message_parseTrigger)
162 162
163 def profileConnected(self, client): 163 def profileConnected(self, client):
164 def assign_service(service): 164 def assign_service(service):
165 client.muc_service = service 165 client.muc_service = service