mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-11 02:00:24 -04:00
Decouple synapse.api.auth_blocking.AuthBlocking
from synapse.api.auth.Auth
. (#13021)
This commit is contained in:
parent
a164a46038
commit
92103cb2c8
14 changed files with 63 additions and 50 deletions
|
@ -110,6 +110,7 @@ class RoomCreationHandler:
|
|||
self.store = hs.get_datastores().main
|
||||
self._storage_controllers = hs.get_storage_controllers()
|
||||
self.auth = hs.get_auth()
|
||||
self.auth_blocking = hs.get_auth_blocking()
|
||||
self.clock = hs.get_clock()
|
||||
self.hs = hs
|
||||
self.spam_checker = hs.get_spam_checker()
|
||||
|
@ -706,7 +707,7 @@ class RoomCreationHandler:
|
|||
"""
|
||||
user_id = requester.user.to_string()
|
||||
|
||||
await self.auth.check_auth_blocking(requester=requester)
|
||||
await self.auth_blocking.check_auth_blocking(requester=requester)
|
||||
|
||||
if (
|
||||
self._server_notices_mxid is not None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue