summary refs log tree commit diff
path: root/synapse/handlers/federation_event.py
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2021-10-20 16:48:23 -0500
committerEric Eastwood <erice@element.io>2021-10-20 16:48:28 -0500
commit886071b66b743c0f0f0d25866680d4ba6d1f9bc8 (patch)
treee0db3bc5320cac60e9ffe4f3b7b1d49568abe2dc /synapse/handlers/federation_event.py
parentSome more trials of trying to get many many events to backfill in order on re... (diff)
downloadsynapse-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.py2
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,
         )