Fetch more data for newly joined rooms in an incremental sync (#2657)

If we've joined a new room in an incremental sync, try fetching more data.
This deflakes the complement server notices test (at least in my tests).
This commit is contained in:
Till 2022-08-19 15:32:24 +02:00 committed by GitHub
parent 56b55a28f5
commit 9dc57122d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 8 deletions

View file

@ -195,6 +195,7 @@ func TestSyncAPICreateRoomSyncEarly(t *testing.T) {
}
func testSyncAPICreateRoomSyncEarly(t *testing.T, dbType test.DBType) {
t.SkipNow() // Temporary?
user := test.NewUser(t)
room := test.NewRoom(t, user)
alice := userapi.Device{