mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 20:44:27 -04:00
Fix missing conditional for registering on_remove_user_third_party_identifier
module api callbacks (#15227
This commit is contained in:
parent
9418344db4
commit
e157c63f68
3 changed files with 16 additions and 9 deletions
|
@ -247,6 +247,11 @@ class ThirdPartyEventRules:
|
|||
on_add_user_third_party_identifier
|
||||
)
|
||||
|
||||
if on_remove_user_third_party_identifier is not None:
|
||||
self._on_remove_user_third_party_identifier_callbacks.append(
|
||||
on_remove_user_third_party_identifier
|
||||
)
|
||||
|
||||
async def check_event_allowed(
|
||||
self,
|
||||
event: EventBase,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue