mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Fix bug
This commit is contained in:
parent
6f8001bd82
commit
2d5bb82077
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user