mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Track stores after possible store reassignment
This commit is contained in:
parent
16573a6381
commit
2fdc07b38d
@ -95,8 +95,6 @@ class MatrixClientPeg {
|
||||
}
|
||||
|
||||
async start() {
|
||||
StorageManager.trackStores(this.matrixClient);
|
||||
|
||||
for (const dbType of ['indexeddb', 'memory']) {
|
||||
try {
|
||||
const promise = this.matrixClient.store.startup();
|
||||
@ -116,6 +114,8 @@ class MatrixClientPeg {
|
||||
}
|
||||
}
|
||||
|
||||
StorageManager.trackStores(this.matrixClient);
|
||||
|
||||
// try to initialise e2e on the new client
|
||||
try {
|
||||
// check that we have a version of the js-sdk which includes initCrypto
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user