mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 08:04:07 -04:00
When updating a stored event from outlier to non-outlier, remember to update the extremeties
This commit is contained in:
parent
2ff439cff7
commit
3b05b67c89
2 changed files with 5 additions and 0 deletions
|
@ -275,6 +275,8 @@ class EventsStore(SQLBaseStore):
|
|||
(False, event.event_id,)
|
||||
)
|
||||
|
||||
self._update_extremeties(txn, [event])
|
||||
|
||||
events_and_contexts = filter(
|
||||
lambda ec: ec[0] not in to_remove,
|
||||
events_and_contexts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue