Add better explanatory comment

See https://github.com/matrix-org/synapse/pull/11114#discussion_r741304767
This commit is contained in:
Eric Eastwood 2021-11-03 01:07:33 -05:00
parent e96fd5c3fd
commit f3b7b3e882

View file

@ -1474,7 +1474,9 @@ class FederationEventHandler:
await self.persist_events_and_notify(
room_id,
tuple(events_to_persist),
# Events we fetch during backfill should be marked as backfilled as well
# Mark these events backfilled as they're historic events that will
# eventually be backfilled. For example, missing events we fetch
# during backfill should be marked as backfilled as well.
backfilled=True,
)