From 218d25d973e69a3b2bbca61ccdc5c50606021750 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Fri, 28 Oct 2022 16:50:01 +0200 Subject: [PATCH] fix typo --- src/matrix/room/Room.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); });