adjust comment
This commit is contained in:
parent
8394e162ad
commit
57dce73cee
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ export default function shouldHideEvent(ev) {
|
||||||
// Hide redacted events
|
// Hide redacted events
|
||||||
if (ev.isRedacted() && !isEnabled('showRedactions')) return true;
|
if (ev.isRedacted() && !isEnabled('showRedactions')) return true;
|
||||||
|
|
||||||
// Hide replacement events since they update the original tile
|
// Hide replacement events since they update the original tile (if enabled)
|
||||||
if (ev.isRelation("m.replace") && SettingsStore.isFeatureEnabled("feature_message_editing")) return true;
|
if (ev.isRelation("m.replace") && SettingsStore.isFeatureEnabled("feature_message_editing")) return true;
|
||||||
|
|
||||||
const eventDiff = memberEventDiff(ev);
|
const eventDiff = memberEventDiff(ev);
|
||||||
|
|
Loading…
Reference in a new issue