mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix refactor error
This commit is contained in:
parent
6a6762f036
commit
ddb6753f8d
@ -236,7 +236,7 @@ export class SyncWriter {
|
|||||||
}
|
}
|
||||||
const memberSync = this._memberWriter.prepareMemberSync(stateEvents, timelineEvents, hasFetchedMembers);
|
const memberSync = this._memberWriter.prepareMemberSync(stateEvents, timelineEvents, hasFetchedMembers);
|
||||||
if (stateEvents) {
|
if (stateEvents) {
|
||||||
await this._writeStateEvents(roomResponse, txn, log);
|
await this._writeStateEvents(stateEvents, txn, log);
|
||||||
}
|
}
|
||||||
const {currentKey, entries, updatedEntries} =
|
const {currentKey, entries, updatedEntries} =
|
||||||
await this._writeTimeline(timelineEvents, timeline, memberSync, this._lastLiveKey, txn, log);
|
await this._writeTimeline(timelineEvents, timeline, memberSync, this._lastLiveKey, txn, log);
|
||||||
|
Loading…
Reference in New Issue
Block a user