From 1b6fea6e4d819e567a50bcf4d5b99d64070b5373 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 8 Sep 2021 14:02:23 -0700 Subject: [PATCH] Add created fragment to store --- src/matrix/room/timeline/persistence/GapWriter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/room/timeline/persistence/GapWriter.js b/src/matrix/room/timeline/persistence/GapWriter.js index 92908df6..40ae5420 100644 --- a/src/matrix/room/timeline/persistence/GapWriter.js +++ b/src/matrix/room/timeline/persistence/GapWriter.js @@ -242,6 +242,7 @@ export class GapWriter { previousToken: null, nextToken: null }; + txn.timelineFragments.add(newFragment); const eventKey = EventKey.defaultFragmentKey(newFragment.id); const startEntry = FragmentBoundaryEntry.start(newFragment, this._fragmentIdComparer);