mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:56:02 -04:00
Hit the 3pid unbind endpoint on deactivation
This commit is contained in:
parent
0a078026ea
commit
2c7866d664
4 changed files with 63 additions and 12 deletions
|
@ -452,15 +452,6 @@ class RegistrationStore(RegistrationWorkerStore,
|
|||
defer.returnValue(ret['user_id'])
|
||||
defer.returnValue(None)
|
||||
|
||||
def user_delete_threepids(self, user_id):
|
||||
return self._simple_delete(
|
||||
"user_threepids",
|
||||
keyvalues={
|
||||
"user_id": user_id,
|
||||
},
|
||||
desc="user_delete_threepids",
|
||||
)
|
||||
|
||||
def user_delete_threepid(self, user_id, medium, address):
|
||||
return self._simple_delete(
|
||||
"user_threepids",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue