diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2023-02-27 14:19:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 14:19:19 +0000 |
commit | b40657314e03583f45ad49504711698a70735313 (patch) | |
tree | a292a2a0dac2c7c13769d97052624dc5d215928b /synapse/storage/databases/main | |
parent | Refactor media modules. (#15146) (diff) | |
download | synapse-b40657314e03583f45ad49504711698a70735313.tar.xz |
Add module API callbacks for adding and deleting local 3PID associations (#15044
Diffstat (limited to 'synapse/storage/databases/main')
-rw-r--r-- | synapse/storage/databases/main/registration.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/synapse/storage/databases/main/registration.py b/synapse/storage/databases/main/registration.py index 9a55e17624..717237e024 100644 --- a/synapse/storage/databases/main/registration.py +++ b/synapse/storage/databases/main/registration.py @@ -1002,19 +1002,6 @@ class RegistrationWorkerStore(CacheInvalidationWorkerStore): desc="user_delete_threepid", ) - async def user_delete_threepids(self, user_id: str) -> None: - """Delete all threepid this user has bound - - Args: - user_id: The user id to delete all threepids of - - """ - await self.db_pool.simple_delete( - "user_threepids", - keyvalues={"user_id": user_id}, - desc="user_delete_threepids", - ) - async def add_user_bound_threepid( self, user_id: str, medium: str, address: str, id_server: str ) -> None: |