Fix bug
This commit is contained in:
parent
6f8001bd82
commit
2d5bb82077
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ export class TimelineReader {
|
||||||
|
|
||||||
async readById(id, log) {
|
async readById(id, log) {
|
||||||
let stores = [this._storage.storeNames.timelineEvents];
|
let stores = [this._storage.storeNames.timelineEvents];
|
||||||
if (this.isEncrypted) {
|
if (this._decryptEntries) {
|
||||||
stores.push(this._storage.storeNames.inboundGroupSessions);
|
stores.push(this._storage.storeNames.inboundGroupSessions);
|
||||||
}
|
}
|
||||||
const txn = await this._storage.readTxn(stores); // todo: can we just use this.readTxnStores here? probably
|
const txn = await this._storage.readTxn(stores); // todo: can we just use this.readTxnStores here? probably
|
||||||
|
|
Reference in a new issue