diff sat/plugins/plugin_exp_invitation_pubsub.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 edc79cefe968
children 524856bd7b19
line wrap: on
line diff
--- a/sat/plugins/plugin_exp_invitation_pubsub.py	Fri Mar 24 10:29:48 2023 +0100
+++ b/sat/plugins/plugin_exp_invitation_pubsub.py	Thu Mar 30 16:47:41 2023 +0200
@@ -147,11 +147,11 @@
             extra = {}
         try:
             handler = self._ns_handler[namespace]
-            preflight = handler.onInvitationPreflight
+            preflight = handler.on_invitation_preflight
         except KeyError:
             pass
         except AttributeError:
-            log.debug(f"no onInvitationPreflight method found for {namespace!r}")
+            log.debug(f"no on_invitation_preflight method found for {namespace!r}")
         else:
             await utils.asDeferred(
                 preflight,