Correctly update aggregation counts after redaction

This commit is contained in:
Erik Johnston 2019-05-20 10:13:05 +01:00
parent d4ca533d70
commit 935af0da38
3 changed files with 57 additions and 0 deletions

View file

@ -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(