From 886071b66b743c0f0f0d25866680d4ba6d1f9bc8 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 20 Oct 2021 16:48:23 -0500 Subject: 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. --- synapse/handlers/federation_event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/handlers/federation_event.py') 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, ) -- cgit 1.5.1