mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -04:00
Remove the deprecated Handlers object (#8494)
All handlers now available via get_*_handler() methods on the HomeServer.
This commit is contained in:
parent
a93f3121f8
commit
c9c0ad5e20
40 changed files with 116 additions and 157 deletions
|
@ -1080,7 +1080,7 @@ class AuthHandler(BaseHandler):
|
|||
if medium == "email":
|
||||
address = canonicalise_email(address)
|
||||
|
||||
identity_handler = self.hs.get_handlers().identity_handler
|
||||
identity_handler = self.hs.get_identity_handler()
|
||||
result = await identity_handler.try_unbind_threepid(
|
||||
user_id, {"medium": medium, "address": address, "id_server": id_server}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue