From baf281bca98eec76d49fa7b146d949a2b4c4a1fb Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Tue, 21 Jul 2026 10:01:07 +0530 Subject: [PATCH] fix restricted room wrong allow type --- src/app/components/create-room/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/create-room/utils.ts b/src/app/components/create-room/utils.ts index 84e6c75a..1c91d0bd 100644 --- a/src/app/components/create-room/utils.ts +++ b/src/app/components/create-room/utils.ts @@ -52,7 +52,7 @@ const createRoomJoinRulesState = ( join_rule: knock ? 'knock_restricted' : 'restricted', allow: [ { - type: [StateEventType.RoomMember], + type: 'm.room_membership', room_id: parentId, }, ],