mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-10 11:25:02 -04:00
Refactor arguments of try_unbind_threepid(_with_id_server)
from dict to separate args (#15053)
This commit is contained in:
parent
c10e131250
commit
bdccfd2477
5 changed files with 28 additions and 39 deletions
|
@ -1593,9 +1593,8 @@ class AuthHandler:
|
|||
if medium == "email":
|
||||
address = canonicalise_email(address)
|
||||
|
||||
identity_handler = self.hs.get_identity_handler()
|
||||
result = await identity_handler.try_unbind_threepid(
|
||||
user_id, {"medium": medium, "address": address, "id_server": id_server}
|
||||
result = await self.hs.get_identity_handler().try_unbind_threepid(
|
||||
user_id, medium, address, id_server
|
||||
)
|
||||
|
||||
await self.store.user_delete_threepid(user_id, medium, address)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue