mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Update the cache with the redacted event
This commit is contained in:
parent
9bcd0a2105
commit
56b28b01db
1 changed files with 3 additions and 0 deletions
|
@ -1019,6 +1019,9 @@ func (d *EventDatabase) MaybeRedactEvent(
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("d.RedactionsTable.MarkRedactionValidated: %w", err)
|
return fmt.Errorf("d.RedactionsTable.MarkRedactionValidated: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
d.Cache.StoreRoomServerEvent(redactedEvent.EventNID, redactedEvent.Event)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
if wErr != nil {
|
if wErr != nil {
|
||||||
|
|
Loading…
Reference in a new issue