diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index 90a6ec26..e03f4cd1 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -313,7 +313,7 @@ export class Room extends BaseRoom { const verifiedEntries = []; const updateCallback = entry => verifiedEntries.push(entry); newlyVerifiedDecryption.applyToEntries(newEntries, updateCallback); - newlyVerifiedDecryption.applyToEntries(updated, updateCallback); + newlyVerifiedDecryption.applyToEntries(updatedEntries, updateCallback); // TODO: update _observedEvents here as well? this._timeline?.replaceEntries(verifiedEntries); });