From 4b5b90e19908186ea9746bcfab8ca3f1fc449947 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Sun, 2 Jun 2019 19:26:45 +0200 Subject: [PATCH] fix another direction mismatch --- src/matrix/room/timeline/entries/FragmentBoundaryEntry.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/matrix/room/timeline/entries/FragmentBoundaryEntry.js b/src/matrix/room/timeline/entries/FragmentBoundaryEntry.js index 7af089f9..ce496364 100644 --- a/src/matrix/room/timeline/entries/FragmentBoundaryEntry.js +++ b/src/matrix/room/timeline/entries/FragmentBoundaryEntry.js @@ -63,17 +63,17 @@ export default class FragmentBoundaryEntry extends BaseEntry { get linkedFragmentId() { if (this.started) { - return this.fragment.nextId; - } else { return this.fragment.previousId; + } else { + return this.fragment.nextId; } } set linkedFragmentId(id) { if (this.started) { - this.fragment.nextId = id; - } else { this.fragment.previousId = id; + } else { + this.fragment.nextId = id; } }