diff sat/plugins/plugin_comp_ap_gateway/events.py @ 4027:26c3e1bc7fb7

plugin XEP-0471: renamed "events" plugin to XEP-0471 now that there is a XEP
author Goffi <goffi@goffi.org>
date Thu, 30 Mar 2023 16:47:41 +0200
parents 78b5f356900c
children 524856bd7b19
line wrap: on
line diff
--- a/sat/plugins/plugin_comp_ap_gateway/events.py	Fri Mar 24 10:29:48 2023 +0100
+++ b/sat/plugins/plugin_comp_ap_gateway/events.py	Thu Mar 30 16:47:41 2023 +0200
@@ -96,7 +96,7 @@
     def __init__(self, apg):
         self.host = apg.host
         self.apg = apg
-        self._events = self.host.plugins["EVENTS"]
+        self._events = self.host.plugins["XEP-0471"]
 
     async def event_data_2_ap_item(
         self, event_data: dict, author_jid: jid.JID, is_new: bool=True