mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
update observed events as well
This commit is contained in:
parent
218d25d973
commit
dc25f96e73
@ -314,8 +314,8 @@ export class Room extends BaseRoom {
|
|||||||
const updateCallback = entry => verifiedEntries.push(entry);
|
const updateCallback = entry => verifiedEntries.push(entry);
|
||||||
newlyVerifiedDecryption.applyToEntries(newEntries, updateCallback);
|
newlyVerifiedDecryption.applyToEntries(newEntries, updateCallback);
|
||||||
newlyVerifiedDecryption.applyToEntries(updatedEntries, updateCallback);
|
newlyVerifiedDecryption.applyToEntries(updatedEntries, updateCallback);
|
||||||
// TODO: update _observedEvents here as well?
|
|
||||||
this._timeline?.replaceEntries(verifiedEntries);
|
this._timeline?.replaceEntries(verifiedEntries);
|
||||||
|
this._observedEvents?.updateEvents(verifiedEntries);
|
||||||
});
|
});
|
||||||
promises.push(promise);
|
promises.push(promise);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user