Revert order fixing

This commit is contained in:
Neil Alexander 2020-01-25 14:06:38 +00:00
parent cc6af4a67b
commit 84153ac438

View file

@ -185,7 +185,7 @@ func (rp *RequestPool) appendAccountData(
// Sync is not initial, get all account data since the latest sync // Sync is not initial, get all account data since the latest sync
dataTypes, err := rp.db.GetAccountDataInRange( dataTypes, err := rp.db.GetAccountDataInRange(
req.ctx, userID, req.ctx, userID,
types.StreamPosition(currentPos), types.StreamPosition(req.since.PDUPosition), types.StreamPosition(req.since.PDUPosition), types.StreamPosition(currentPos),
accountDataFilter, accountDataFilter,
) )
if err != nil { if err != nil {