mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-09 19:56:44 +01:00
forgot await
This commit is contained in:
parent
5a8aac57ac
commit
650df6fea8
@ -219,7 +219,7 @@ export class SyncWriter {
|
|||||||
}
|
}
|
||||||
// important this happens before _writeTimeline so
|
// important this happens before _writeTimeline so
|
||||||
// members are available in the transaction
|
// members are available in the transaction
|
||||||
const memberChanges = this._writeStateEvents(roomResponse, trackNewlyJoined, txn);
|
const memberChanges = await this._writeStateEvents(roomResponse, trackNewlyJoined, txn);
|
||||||
const timelineResult = await this._writeTimeline(entries, timeline, currentKey, trackNewlyJoined, txn);
|
const timelineResult = await this._writeTimeline(entries, timeline, currentKey, trackNewlyJoined, txn);
|
||||||
currentKey = timelineResult.currentKey;
|
currentKey = timelineResult.currentKey;
|
||||||
// merge member changes from state and timeline, giving precedence to the latter
|
// merge member changes from state and timeline, giving precedence to the latter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user