mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08: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