Commit graph

4 commits

Author SHA1 Message Date
Kegan Dougal 73d92fb078 Whoops 2020-04-29 18:10:05 +01:00
Kegan Dougal b7354ad0da Fix gmsl to not mux in auth events into room state 2020-04-29 17:35:59 +01:00
Kegan Dougal 9bdf8465e3 Make backfill work for shared history visibility 2020-04-29 12:35:35 +01:00
Kegsay 6d832ae544
Implement backfill in the roomserver (#983)
* 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.

* WIP backfill, doesn't work

* Make initial backfill pass checks

* Persist backfilled events with state snapshots

* Remove debug lines

* Linting

* Review comments
2020-04-28 11:46:47 +01:00