mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -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
|
@ -691,7 +691,7 @@ class RoomCreationHandler(BaseHandler):
|
|||
if not allowed_by_third_party_rules:
|
||||
raise SynapseError(403, "Room visibility value not allowed.")
|
||||
|
||||
directory_handler = self.hs.get_handlers().directory_handler
|
||||
directory_handler = self.hs.get_directory_handler()
|
||||
if room_alias:
|
||||
await directory_handler.create_association(
|
||||
requester=requester,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue