[FIX] Respect server HideSystemMessages (#2175)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
fcf6ed4dd7
commit
caf1ef2cfe
|
@ -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()}
|
||||
|
|
Loading…
Reference in New Issue