diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index c9f577cb..454b935e 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -159,7 +159,7 @@ export class Room extends EventEmitter { async _prepareSyncDecryption(events, newKeys, roomEncryption, txn, log) { let retryEntries; let decryptPreparation; - // when new keys arrive, also see if any events that can now be retried to decrypt + // when new keys arrive, also see if any events can now be retried to decrypt if (newKeys) { const entriesPerKey = await Promise.all(newKeys.map(key => this._getRetryDecryptEntriesForKey(key, txn))); retryEntries = entriesPerKey.reduce((allEntries, entries) => allEntries.concat(entries), []);