diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2023-02-13 12:12:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 12:12:48 +0000 |
commit | bdccfd24773d7482ae497263634312640dab01d1 (patch) | |
tree | c295c637e9f5e1e97f70f0bac4cb8ca724419dda /synapse/handlers/deactivate_account.py | |
parent | Apply logging from hotfixes branch to develop (#15054) (diff) | |
download | synapse-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.py | 7 |
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: |