summary refs log tree commit diff
path: root/synapse/handlers/deactivate_account.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2023-02-13 12:12:48 +0000
committerGitHub <noreply@github.com>2023-02-13 12:12:48 +0000
commitbdccfd24773d7482ae497263634312640dab01d1 (patch)
treec295c637e9f5e1e97f70f0bac4cb8ca724419dda /synapse/handlers/deactivate_account.py
parentApply logging from hotfixes branch to develop (#15054) (diff)
downloadsynapse-bdccfd24773d7482ae497263634312640dab01d1.tar.xz
Refactor arguments of `try_unbind_threepid(_with_id_server)` from dict to separate args (#15053)
Diffstat (limited to 'synapse/handlers/deactivate_account.py')
-rw-r--r--synapse/handlers/deactivate_account.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/handlers/deactivate_account.py b/synapse/handlers/deactivate_account.py

index d74d135c0c..d24f649382 100644 --- a/synapse/handlers/deactivate_account.py +++ b/synapse/handlers/deactivate_account.py
@@ -106,12 +106,7 @@ class DeactivateAccountHandler: for threepid in threepids: try: result = await self._identity_handler.try_unbind_threepid( - user_id, - { - "medium": threepid["medium"], - "address": threepid["address"], - "id_server": id_server, - }, + user_id, threepid["medium"], threepid["address"], id_server ) identity_server_supports_unbinding &= result except Exception: