keep comment where it was
This commit is contained in:
parent
0d6ae19d99
commit
7fb5412176
1 changed files with 1 additions and 1 deletions
|
@ -148,8 +148,8 @@ export class SyncWriter {
|
||||||
async _writeTimeline(timelineEvents, timeline, memberSync, currentKey, txn, log) {
|
async _writeTimeline(timelineEvents, timeline, memberSync, currentKey, txn, log) {
|
||||||
const entries = [];
|
const entries = [];
|
||||||
const updatedEntries = [];
|
const updatedEntries = [];
|
||||||
// only create a fragment when we will really write an event
|
|
||||||
if (timelineEvents?.length) {
|
if (timelineEvents?.length) {
|
||||||
|
// only create a fragment when we will really write an event
|
||||||
currentKey = await this._ensureLiveFragment(currentKey, entries, timeline, txn, log);
|
currentKey = await this._ensureLiveFragment(currentKey, entries, timeline, txn, log);
|
||||||
log.set("timelineEvents", timelineEvents.length);
|
log.set("timelineEvents", timelineEvents.length);
|
||||||
let timelineStateEventCount = 0;
|
let timelineStateEventCount = 0;
|
||||||
|
|
Reference in a new issue