Test settings later for performance
parent
6a3708d51b
commit
24209905e8
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue