You've already forked matrix-react-sdk
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:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user