diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2022-02-11 14:58:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 13:58:11 +0000 |
commit | 0171fa5226a6aa808d9965dab20f22f9794810d9 (patch) | |
tree | 6c42aba0388d7ed2b2949d5ec5a79006903e0f6b /synapse/handlers | |
parent | Fix Newsfile (diff) | |
download | synapse-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')
-rw-r--r-- | synapse/handlers/room.py | 5 |
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 |