This commit is contained in:
RMidhunSuresh 2021-12-14 14:36:57 +05:30
parent 6f8001bd82
commit 2d5bb82077

View File

@ -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