From 30f7961c678362a7552d5d7b50c2d07dd3b4a7e8 Mon Sep 17 00:00:00 2001 From: Rohit <40559587+Rohit3523@users.noreply.github.com> Date: Thu, 5 Feb 2026 19:14:07 +0530 Subject: [PATCH 1/2] Added null check --- app/views/RoomInfoEditView/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/RoomInfoEditView/index.tsx b/app/views/RoomInfoEditView/index.tsx index 67a79c13d6d..f8290199be3 100644 --- a/app/views/RoomInfoEditView/index.tsx +++ b/app/views/RoomInfoEditView/index.tsx @@ -171,7 +171,7 @@ const RoomInfoEditView = ({ navigation, route }: IRoomInfoEditViewProps) => { params.readOnly = readOnly; } // React When Read Only - if (room.reactWhenReadOnly !== reactWhenReadOnly) { + if ((room.reactWhenReadOnly ?? false) !== reactWhenReadOnly) { params.reactWhenReadOnly = reactWhenReadOnly; } From 8145bd367bed38c27c0ffcede65ed4dab24fd835 Mon Sep 17 00:00:00 2001 From: Rohit Bansal <40559587+Rohit3523@users.noreply.github.com> Date: Thu, 5 Feb 2026 23:43:16 +0530 Subject: [PATCH 2/2] change to or --- app/views/RoomInfoEditView/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/RoomInfoEditView/index.tsx b/app/views/RoomInfoEditView/index.tsx index f8290199be3..1f10855f8c5 100644 --- a/app/views/RoomInfoEditView/index.tsx +++ b/app/views/RoomInfoEditView/index.tsx @@ -171,7 +171,7 @@ const RoomInfoEditView = ({ navigation, route }: IRoomInfoEditViewProps) => { params.readOnly = readOnly; } // React When Read Only - if ((room.reactWhenReadOnly ?? false) !== reactWhenReadOnly) { + if ((room.reactWhenReadOnly || false) !== reactWhenReadOnly) { params.reactWhenReadOnly = reactWhenReadOnly; }