diff options
author | Eric Eastwood <erice@element.io> | 2021-10-20 16:48:23 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2021-10-20 16:48:28 -0500 |
commit | 886071b66b743c0f0f0d25866680d4ba6d1f9bc8 (patch) | |
tree | e0db3bc5320cac60e9ffe4f3b7b1d49568abe2dc /synapse/handlers/federation_event.py | |
parent | Some more trials of trying to get many many events to backfill in order on re... (diff) | |
download | synapse-886071b66b743c0f0f0d25866680d4ba6d1f9bc8.tar.xz |
Fix backfill not picking up batch events connected to non-base insertion events
Previously, we would only look for a batch event if the insertion event was connected to something else by prev_event. This is only the case for the base insertion event. And instead, we need to look for a batch event whenever we come across an insertion event.
Diffstat (limited to 'synapse/handlers/federation_event.py')
-rw-r--r-- | synapse/handlers/federation_event.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation_event.py b/synapse/handlers/federation_event.py index d9fe4a430c..177352f832 100644 --- a/synapse/handlers/federation_event.py +++ b/synapse/handlers/federation_event.py @@ -1276,7 +1276,7 @@ class FederationEventHandler: await self.persist_events_and_notify( room_id, tuple(events_to_persist), - # TODO: Maybe this to get fetched missing events during backfill as backfill also :/ + # TODO: Maybe this to get fetched missing events during backfill as backfilled also :/ backfilled=True, ) |