Commit f5188a8d authored by devyaniChoubey's avatar devyaniChoubey Committed by Diego Mello
Browse files

[FIX] Not allow to send messages to archived room (#1623)

parent 5dc72681
......@@ -791,7 +791,7 @@ class RoomView extends React.Component {
</View>
);
}
if (this.isReadOnly) {
if (this.isReadOnly || room.archived) {
return (
<View style={styles.readOnly}>
<Text style={[styles.previewMode, { color: themes[theme].titleText }]}>{I18n.t('This_room_is_read_only')}</Text>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment