summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-02-11 14:58:11 +0100
committerGitHub <noreply@github.com>2022-02-11 13:58:11 +0000
commit0171fa5226a6aa808d9965dab20f22f9794810d9 (patch)
tree6c42aba0388d7ed2b2949d5ec5a79006903e0f6b /synapse/handlers/room.py
parentFix Newsfile (diff)
downloadsynapse-0171fa5226a6aa808d9965dab20f22f9794810d9.tar.xz
Remove deprecated user_may_create_room_with_invites callback (#11950)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py

index 1420d67729..a990727fc5 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py
@@ -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