summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2023-02-09 21:26:21 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2023-02-09 21:29:59 +0000
commitb3f791ec3b7c321eabd34aeaa1d5dddc238f94ea (patch)
treebc7866ca8504c943d2a19ba486314f0f5404bb47 /synapse/handlers/auth.py
parentAdd support for devenv developer environments (diff)
downloadsynapse-b3f791ec3b7c321eabd34aeaa1d5dddc238f94ea.tar.xz
Rename delete_threepid -> delete_and_unbind_threepid
To make it more obvious that this method will also
attempt to unbind threepids that are deleted through it.
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py

index e6f9e5f878..8da017c3ba 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py
@@ -1595,7 +1595,7 @@ class AuthHandler: # has successfully been created. await self._third_party_rules.on_threepid_bind(user_id, medium, address) - async def delete_threepid( + async def delete_and_unbind_threepid( self, user_id: str, medium: str, address: str, id_server: Optional[str] = None ) -> bool: """Attempts to unbind the 3pid on the identity servers and deletes it