From 24209905e85b1ba8c713cca425f9b18e2e0cb641 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 13 May 2019 14:41:49 +0100 Subject: [PATCH] Test settings later for performance --- src/components/views/rooms/EventTile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index 5a5aaeb098..b71b28c635 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -483,8 +483,8 @@ module.exports = withMatrixClient(React.createClass({ getReactions() { if ( - !SettingsStore.isFeatureEnabled("feature_reactions") || - !this.props.getRelationsForEvent + !this.props.getRelationsForEvent || + !SettingsStore.isFeatureEnabled("feature_reactions") ) { return null; }