mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-04 18:08:48 -04:00
Try and drop stale extremities. (#8929)
If we see stale extremities while persisting events, and notice that they don't change the result of state resolution, we drop them.
This commit is contained in:
parent
f1db20b5a5
commit
70586aa63e
6 changed files with 523 additions and 18 deletions
|
@ -125,7 +125,7 @@ async def filter_events_for_client(
|
|||
# see events in the room at that point in the DAG, and that shouldn't be decided
|
||||
# on those checks.
|
||||
if filter_send_to_client:
|
||||
if event.type == "org.matrix.dummy_event":
|
||||
if event.type == EventTypes.Dummy:
|
||||
return None
|
||||
|
||||
if not event.is_state() and event.sender in ignore_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue