mirror of
https://github.com/element-hq/synapse.git
synced 2026-03-30 17:15:50 +00:00
Update synapse/storage/controllers/persist_events.py
Co-authored-by: Eric Eastwood <erice@element.io>
This commit is contained in:
@@ -1016,8 +1016,8 @@ class EventsPersistenceStorageController:
|
||||
e_id for event in new_state_events for e_id in event.prev_state_events
|
||||
)
|
||||
|
||||
# Finally handle the case where the new events have rejected/soft-failed prev state events.
|
||||
# If they do we need to remove them and their prev state events,
|
||||
# Finally handle the case where the new events have rejected/soft-failed `prev_state_events`.
|
||||
# If they do we need to remove them and their `prev_state_events`,
|
||||
# otherwise we end up with dangling extremities.
|
||||
# Specifically, this handles the case where (F=fwd extrem, SF=soft-failed, N=new event)
|
||||
# F <-- SF <-- SF <-- N
|
||||
|
||||
Reference in New Issue
Block a user