diff --git a/src/matrix/room/timeline/persistence/TimelineReader.js b/src/matrix/room/timeline/persistence/TimelineReader.js index dd7474e7..23ec4ed8 100644 --- a/src/matrix/room/timeline/persistence/TimelineReader.js +++ b/src/matrix/room/timeline/persistence/TimelineReader.js @@ -134,7 +134,7 @@ export class TimelineReader { async readById(id, log) { let stores = [this._storage.storeNames.timelineEvents]; - if (this.isEncrypted) { + if (this._decryptEntries) { stores.push(this._storage.storeNames.inboundGroupSessions); } const txn = await this._storage.readTxn(stores); // todo: can we just use this.readTxnStores here? probably