From 1ed3babfecb74120ef9e84f6b495692e8fd91259 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Sun, 2 Jun 2019 15:01:14 +0200 Subject: [PATCH] fragment boundary is a gap if backwards(started) & previousToken --- src/matrix/room/timeline/entries/FragmentBoundaryEntry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/room/timeline/entries/FragmentBoundaryEntry.js b/src/matrix/room/timeline/entries/FragmentBoundaryEntry.js index 10ae7ec4..83993315 100644 --- a/src/matrix/room/timeline/entries/FragmentBoundaryEntry.js +++ b/src/matrix/room/timeline/entries/FragmentBoundaryEntry.js @@ -47,9 +47,9 @@ export default class FragmentBoundaryEntry extends BaseEntry { get token() { if (this.started) { - return this.fragment.nextToken; - } else { return this.fragment.previousToken; + } else { + return this.fragment.nextToken; } }