Linting and update whitelist

This commit is contained in:
Kegan Dougal 2020-07-30 10:46:42 +01:00
parent d8dd84f7b3
commit 68d8d69f1a
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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