summary refs log tree commit diff
path: root/synapse/handlers/deactivate_account.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2023-03-08 17:05:00 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2023-03-08 17:05:00 +0000
commitcb8d9e3d75dd5d6897b562e76eb5767fbd4b78a3 (patch)
tree96bdcbb3cabbf10cdbd04f90d08eb6c6bc83e4d9 /synapse/handlers/deactivate_account.py
parentMove ThirdPartyEventRules into module_api/callbacks (diff)
downloadsynapse-github/anoa/public_rooms_module_api_backup.tar.xz
Update usages of ThirdPartyEventRules module callbacks github/anoa/public_rooms_module_api_backup anoa/public_rooms_module_api_backup
Diffstat (limited to 'synapse/handlers/deactivate_account.py')
-rw-r--r--synapse/handlers/deactivate_account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/deactivate_account.py b/synapse/handlers/deactivate_account.py

index d24f649382..10d39a5c46 100644 --- a/synapse/handlers/deactivate_account.py +++ b/synapse/handlers/deactivate_account.py
@@ -39,11 +39,11 @@ class DeactivateAccountHandler: self._profile_handler = hs.get_profile_handler() self.user_directory_handler = hs.get_user_directory_handler() self._server_name = hs.hostname - self._third_party_rules = hs.get_third_party_event_rules() + self._third_party_rules = hs.get_module_api_callbacks().third_party_event_rules # Flag that indicates whether the process to part users from rooms is running self._user_parter_running = False - self._third_party_rules = hs.get_third_party_event_rules() + self._third_party_rules = hs.get_module_api_callbacks().third_party_event_rules # Start the user parter loop so it can resume parting users from rooms where # it left off (if it has work left to do).