forked from mystiq/hydrogen-web
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) {
|
||||
const entries = [];
|
||||
const updatedEntries = [];
|
||||
// only create a fragment when we will really write an event
|
||||
if (timelineEvents?.length) {
|
||||
// only create a fragment when we will really write an event
|
||||
currentKey = await this._ensureLiveFragment(currentKey, entries, timeline, txn, log);
|
||||
log.set("timelineEvents", timelineEvents.length);
|
||||
let timelineStateEventCount = 0;
|
||||
|
|
Loading…
Reference in a new issue