From 84153ac438d956f20b3987e7cde417cd53009482 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sat, 25 Jan 2020 14:06:38 +0000 Subject: [PATCH] Revert order fixing --- syncapi/sync/requestpool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncapi/sync/requestpool.go b/syncapi/sync/requestpool.go index 8ef7bc16a..5a3ae8807 100644 --- a/syncapi/sync/requestpool.go +++ b/syncapi/sync/requestpool.go @@ -185,7 +185,7 @@ func (rp *RequestPool) appendAccountData( // Sync is not initial, get all account data since the latest sync dataTypes, err := rp.db.GetAccountDataInRange( req.ctx, userID, - types.StreamPosition(currentPos), types.StreamPosition(req.since.PDUPosition), + types.StreamPosition(req.since.PDUPosition), types.StreamPosition(currentPos), accountDataFilter, ) if err != nil {