Test settings later for performance

pull/21833/head
J. Ryan Stinnett 2019-05-13 14:41:49 +01:00
parent 6a3708d51b
commit 24209905e8
1 changed files with 2 additions and 2 deletions

View File

@ -483,8 +483,8 @@ module.exports = withMatrixClient(React.createClass({
getReactions() { getReactions() {
if ( if (
!SettingsStore.isFeatureEnabled("feature_reactions") || !this.props.getRelationsForEvent ||
!this.props.getRelationsForEvent !SettingsStore.isFeatureEnabled("feature_reactions")
) { ) {
return null; return null;
} }