Unverified Commit caf1ef2c authored by Djorkaeff Alexandre's avatar Djorkaeff Alexandre Committed by GitHub
Browse files

[FIX] Respect server HideSystemMessages (#2175)



Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
parent fcf6ed4d
......@@ -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()}
......
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