mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
don't assume timeline is open as have an await since last check
This commit is contained in:
parent
6dbcd46d80
commit
d0122d17c0
@ -315,7 +315,7 @@ export class Room extends BaseRoom {
|
||||
newlyVerifiedDecryption.applyToEntries(newEntries, updateCallback);
|
||||
newlyVerifiedDecryption.applyToEntries(updated, updateCallback);
|
||||
// TODO: update _observedEvents here as well?
|
||||
this._timeline.replaceEntries(verifiedEntries);
|
||||
this._timeline?.replaceEntries(verifiedEntries);
|
||||
});
|
||||
promises.push(promise);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user