From caf1ef2cfe6bd31b433cf32529335f8f6a0e256e Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Tue, 9 Jun 2020 17:11:52 -0300 Subject: [PATCH] [FIX] Respect server HideSystemMessages (#2175) Co-authored-by: Diego Mello --- 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 5dba91af7..df77bde22 100644 --- a/app/views/RoomView/index.js +++ b/app/views/RoomView/index.js @@ -1043,7 +1043,7 @@ class RoomView extends React.Component { renderRow={this.renderItem} loading={loading} navigation={navigation} - hideSystemMessages={sysMes || Hide_System_Messages} + hideSystemMessages={Array.isArray(sysMes) ? sysMes : Hide_System_Messages} /> {this.renderFooter()} {this.renderActions()}