Prune event entity when redacted

This commit is contained in:
Maxime NATUREL 2022-07-05 17:31:40 +02:00
parent 391bf842b4
commit d3ad8d8deb
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ internal class RedactionEventProcessor @Inject constructor() : EventInsertLivePr
when (typeToPrune) {
EventType.ENCRYPTED,
EventType.MESSAGE,
in EventType.STATE_ROOM_BEACON_INFO,
in EventType.POLL_START -> {
Timber.d("REDACTION for message ${eventToPrune.eventId}")
val unsignedData = EventMapper.map(eventToPrune).unsignedData