From c71174b05929d600da63a282025285053839188e Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 13 Jan 2021 11:23:09 +0000 Subject: [PATCH] Don't reverse start and end --- syncapi/routing/messages.go | 1 - 1 file changed, 1 deletion(-) diff --git a/syncapi/routing/messages.go b/syncapi/routing/messages.go index 9f8687cca..ddee1d4ac 100644 --- a/syncapi/routing/messages.go +++ b/syncapi/routing/messages.go @@ -288,7 +288,6 @@ func (r *messagesReq) retrieveEvents() ( // we consider a left to right chronological order), tokens need to refer // to them by the event on their left, therefore we need to decrement the // end position we send in the response if we're going backward. - start, end = end, start end.Decrement() // This reverses the array from old->new to new->old