mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-28 15:10:16 -05:00
Correctly update aggregation counts after redaction
This commit is contained in:
parent
d4ca533d70
commit
935af0da38
3 changed files with 57 additions and 0 deletions
|
|
@ -1325,6 +1325,9 @@ class EventsStore(
|
|||
txn, event.room_id, event.redacts
|
||||
)
|
||||
|
||||
# Remove from relations table.
|
||||
self._handle_redaction(txn, event.redacts)
|
||||
|
||||
# Update the event_forward_extremities, event_backward_extremities and
|
||||
# event_edges tables.
|
||||
self._handle_mult_prev_events(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue