fix restricted room wrong allow type

This commit is contained in:
Ajay Bura committed 2026-07-21 10:01:07 +05:30
1 parent a67f855e09
commit baf281bca9
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ const createRoomJoinRulesState = (
join_rule: knock ? 'knock_restricted' : 'restricted',
allow: [
{
type: [StateEventType.RoomMember],
type: 'm.room_membership',
room_id: parentId,
},
],