Mercurial > libervia-backend
diff sat/plugins/plugin_sec_aesgcm.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_sec_aesgcm.py Mon May 15 17:19:54 2023 +0200 +++ b/sat/plugins/plugin_sec_aesgcm.py Mon May 29 13:32:08 2023 +0200 @@ -70,7 +70,7 @@ self.can_handle_attachment, self.attach, encrypted=True) host.trigger.add("XEP-0363_upload_pre_slot", self._upload_pre_slot) host.trigger.add("XEP-0363_upload", self._upload_trigger) - host.trigger.add("messageReceived", self._message_received_trigger) + host.trigger.add("message_received", self._message_received_trigger) async def download(self, client, uri_parsed, dest_path, options): fragment = bytes.fromhex(uri_parsed.fragment)