Test settings later for performance

This commit is contained in:
J. Ryan Stinnett 2019-05-13 14:41:49 +01:00
parent 6a3708d51b
commit 24209905e8

View File

@ -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;
}