Test settings later for performance
This commit is contained in:
parent
6a3708d51b
commit
24209905e8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue