hide reactions for redacted events

This commit is contained in:
Bruno Windels 2019-07-02 13:56:27 +02:00
parent 515ed2e1bb
commit d0d327620b

View file

@ -681,7 +681,7 @@ module.exports = withMatrixClient(React.createClass({
</div> : null; </div> : null;
let reactionsRow; let reactionsRow;
if (SettingsStore.isFeatureEnabled("feature_reactions")) { if (SettingsStore.isFeatureEnabled("feature_reactions") && !isRedacted) {
const ReactionsRow = sdk.getComponent('messages.ReactionsRow'); const ReactionsRow = sdk.getComponent('messages.ReactionsRow');
reactionsRow = <ReactionsRow reactionsRow = <ReactionsRow
mxEvent={this.props.mxEvent} mxEvent={this.props.mxEvent}