diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-09-24 12:57:32 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-09-24 12:57:32 +0100 |
commit | ed8b92f0d22b9de96c5ac04ef8ef45531fe45a2c (patch) | |
tree | c6c35d841e75d73ed2a045d30d8abc87487a57ab /synapse/handlers/deactivate_account.py | |
parent | Merge commit '33757bad1' into rav/saml_mapping_work (diff) | |
parent | Add submit_url response parameter to msisdn /requestToken (#6079) (diff) | |
download | synapse-ed8b92f0d22b9de96c5ac04ef8ef45531fe45a2c.tar.xz |
Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_work
Diffstat (limited to 'synapse/handlers/deactivate_account.py')
-rw-r--r-- | synapse/handlers/deactivate_account.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/deactivate_account.py b/synapse/handlers/deactivate_account.py index 5f804d1f13..d83912c9a4 100644 --- a/synapse/handlers/deactivate_account.py +++ b/synapse/handlers/deactivate_account.py @@ -73,7 +73,9 @@ class DeactivateAccountHandler(BaseHandler): # unbinding identity_server_supports_unbinding = True - threepids = yield self.store.user_get_threepids(user_id) + # Retrieve the 3PIDs this user has bound to an identity server + threepids = yield self.store.user_get_bound_threepids(user_id) + for threepid in threepids: try: result = yield self._identity_handler.try_unbind_threepid( |