From 87e9c46fb8a15ee6b0f7cbbe0e1331031678828b Mon Sep 17 00:00:00 2001 From: strawberry Date: Sat, 30 Mar 2024 23:46:04 -0400 Subject: [PATCH] on new room creations: only allow moderators to call public rooms Signed-off-by: strawberry --- src/api/client_server/room.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/api/client_server/room.rs b/src/api/client_server/room.rs index 232cf209..a7c9e15c 100644 --- a/src/api/client_server/room.rs +++ b/src/api/client_server/room.rs @@ -364,6 +364,14 @@ pub async fn create_room_route(body: Ruma) -> Result