mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-24 16:20:58 +01:00
Prune event entity when redacted
This commit is contained in:
parent
391bf842b4
commit
d3ad8d8deb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user