Commit graph

4 commits

Author SHA1 Message Date
Kegan Dougal 2b10a5ca23 Persist backfilled events with state snapshots 2020-04-27 18:44:07 +01:00
Kegan Dougal 1ff251e16f Make initial backfill pass checks 2020-04-24 17:29:15 +01:00
Kegan Dougal 366ed43c9c WIP backfill, doesn't work 2020-04-24 14:20:32 +01:00
Kegan Dougal 3ab24c3afd Initial cut for backfilling
The syncserver now asks the roomserver via QueryBackfill (which already
existed to *handle* backfill requests) which then makes federation requests
via gomatrixserverlib.RequestBackfill.

Currently, tests fail on subsequent /messages requests because we don't know
which servers are in the room, because we are unable to get state snapshots
from a backfilled event because that code doesn't exist yet.
2020-04-23 18:05:55 +01:00