mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
adjust comment
This commit is contained in:
parent
8394e162ad
commit
57dce73cee
@ -46,7 +46,7 @@ export default function shouldHideEvent(ev) {
|
||||
// Hide redacted events
|
||||
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;
|
||||
|
||||
const eventDiff = memberEventDiff(ev);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user