diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index b6adb1fc..3779f1c3 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -68,9 +68,8 @@ export class Room extends EventEmitter { } const decryptRequest = this._decryptEntries(DecryptionSource.Retry, retryEntries, txn); await decryptRequest.complete(); - if (this._timeline) { - // only adds if already present - this._timeline.replaceEntries(retryEntries); + + this._timeline?.replaceEntries(retryEntries); } // pass decryptedEntries to roomSummary }