diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index e03f4cd1..ab336ea1 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -314,8 +314,8 @@ export class Room extends BaseRoom { const updateCallback = entry => verifiedEntries.push(entry); newlyVerifiedDecryption.applyToEntries(newEntries, updateCallback); newlyVerifiedDecryption.applyToEntries(updatedEntries, updateCallback); - // TODO: update _observedEvents here as well? this._timeline?.replaceEntries(verifiedEntries); + this._observedEvents?.updateEvents(verifiedEntries); }); promises.push(promise); }