mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-16 11:30:18 -04:00
Merge remote-tracking branch 'upstream/release-v1.53'
This commit is contained in:
commit
d12ff25f13
148 changed files with 4222 additions and 2281 deletions
|
@ -694,11 +694,6 @@ class RoomCreationHandler:
|
|||
|
||||
if not is_requester_admin and not (
|
||||
await self.spam_checker.user_may_create_room(user_id)
|
||||
and await self.spam_checker.user_may_create_room_with_invites(
|
||||
user_id,
|
||||
invite_list,
|
||||
invite_3pid_list,
|
||||
)
|
||||
):
|
||||
raise SynapseError(
|
||||
403, "You are not permitted to create rooms", Codes.FORBIDDEN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue