1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-19 20:23:18 +03:00

Remove editing feature flag

Part of https://github.com/vector-im/riot-web/issues/10282
This commit is contained in:
J. Ryan Stinnett
2019-07-17 16:56:15 +01:00
parent b8aae63c83
commit 674f33917f
8 changed files with 7 additions and 23 deletions

View File

@ -47,7 +47,7 @@ export default function shouldHideEvent(ev) {
if (ev.isRedacted() && !isEnabled('showRedactions')) return true;
// 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")) return true;
const eventDiff = memberEventDiff(ev);