From f5188a8d12c36d5b10ffe8a7858590c3eb3b2e37 Mon Sep 17 00:00:00 2001 From: devyaniChoubey <52153085+devyaniChoubey@users.noreply.github.com> Date: Tue, 28 Jan 2020 19:09:42 +0530 Subject: [PATCH] [FIX] Not allow to send messages to archived room (#1623) --- app/views/RoomView/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/RoomView/index.js b/app/views/RoomView/index.js index 887f07e0..5d038b33 100644 --- a/app/views/RoomView/index.js +++ b/app/views/RoomView/index.js @@ -791,7 +791,7 @@ class RoomView extends React.Component { ); } - if (this.isReadOnly) { + if (this.isReadOnly || room.archived) { return ( {I18n.t('This_room_is_read_only')}