Log a warning if the event content is not pruned
This commit is contained in:
parent
2477632e2b
commit
5a43b76488
@ -89,6 +89,9 @@ internal class RedactionEventProcessor @Inject constructor() : EventInsertLivePr
|
|||||||
|
|
||||||
handleTimelineThreadSummaryIfNeeded(realm, eventToPrune, isLocalEcho)
|
handleTimelineThreadSummaryIfNeeded(realm, eventToPrune, isLocalEcho)
|
||||||
}
|
}
|
||||||
|
else -> {
|
||||||
|
Timber.w("Not pruning event (type $typeToPrune)")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (typeToPrune == EventType.STATE_ROOM_MEMBER && stateKey != null) {
|
if (typeToPrune == EventType.STATE_ROOM_MEMBER && stateKey != null) {
|
||||||
TimelineEventEntity.findWithSenderMembershipEvent(realm, eventToPrune.eventId).forEach {
|
TimelineEventEntity.findWithSenderMembershipEvent(realm, eventToPrune.eventId).forEach {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user