1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-05 00:42:10 +03:00

MSC3531: Hiding messages during moderation (#2041)

This commit is contained in:
David Teller
2022-01-12 11:27:33 +01:00
committed by GitHub
parent 6fc586598a
commit 96d1b30012
6 changed files with 390 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ export function eventMapperFor(client: MatrixClient, options: MapperOpts): Event
}
}
if (!preventReEmit) {
client.reEmitter.reEmit(event, ["Event.replaced"]);
client.reEmitter.reEmit(event, ["Event.replaced", "Event.visibilityChange"]);
}
return event;
}