plugin XEP-0471: renamed "events" plugin to XEP-0471 now that there is a XEP
This commit is contained in:
parent
66842072e3
commit
6981f0e7c6
1 changed files with 16 additions and 16 deletions
|
|
@ -147,11 +147,11 @@ class PubsubInvitation:
|
|||
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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue