This commit is contained in:
Bruno Windels 2022-10-28 16:50:01 +02:00
parent d0122d17c0
commit 218d25d973

View File

@ -313,7 +313,7 @@ export class Room extends BaseRoom {
const verifiedEntries = []; const verifiedEntries = [];
const updateCallback = entry => verifiedEntries.push(entry); const updateCallback = entry => verifiedEntries.push(entry);
newlyVerifiedDecryption.applyToEntries(newEntries, updateCallback); newlyVerifiedDecryption.applyToEntries(newEntries, updateCallback);
newlyVerifiedDecryption.applyToEntries(updated, updateCallback); newlyVerifiedDecryption.applyToEntries(updatedEntries, updateCallback);
// TODO: update _observedEvents here as well? // TODO: update _observedEvents here as well?
this._timeline?.replaceEntries(verifiedEntries); this._timeline?.replaceEntries(verifiedEntries);
}); });