1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-19 05:22:13 +03:00

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;
let reactionsRow;
if (SettingsStore.isFeatureEnabled("feature_reactions")) {
if (SettingsStore.isFeatureEnabled("feature_reactions") && !isRedacted) {
const ReactionsRow = sdk.getComponent('messages.ReactionsRow');
reactionsRow = <ReactionsRow
mxEvent={this.props.mxEvent}