diff --git a/syncapi/sync/requestpool.go b/syncapi/sync/requestpool.go index 00115094d..754d69833 100644 --- a/syncapi/sync/requestpool.go +++ b/syncapi/sync/requestpool.go @@ -172,7 +172,7 @@ func (rp *RequestPool) currentSyncForUser(req syncRequest, latestPos types.Strea if err != nil { return } - res, err = rp.appendDeviceLists(res, req.device.UserID, since, latestPos) + res, err = rp.appendDeviceLists(res, req.device.UserID, since) if err != nil { return } @@ -205,7 +205,7 @@ func (rp *RequestPool) currentSyncForUser(req syncRequest, latestPos types.Strea } func (rp *RequestPool) appendDeviceLists( - data *types.Response, userID string, since, latest types.StreamingToken, + data *types.Response, userID string, since types.StreamingToken, ) (*types.Response, error) { // TODO: Currently this code will race which may result in duplicates but not missing data. // This happens because, whilst we are told the range to fetch here (since / latest) the diff --git a/sytest-whitelist b/sytest-whitelist index 388f95e08..26922df4c 100644 --- a/sytest-whitelist +++ b/sytest-whitelist @@ -127,6 +127,7 @@ Can query specific device keys using POST query for user with no keys returns empty key dict Can claim one time key using POST Can claim remote one time key using POST +Local device key changes appear in v2 /sync Can add account data Can add account data to room Can get account data without syncing