You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
correctly check for crypto being present
This commit is contained in:
@@ -516,7 +516,7 @@ SyncApi.prototype.sync = function() {
|
|||||||
console.warn("InvalidStoreError: store is not usable: stopping sync.");
|
console.warn("InvalidStoreError: store is not usable: stopping sync.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.opts.lazyLoadMembers && this._crypto) {
|
if (this.opts.lazyLoadMembers && this.opts.crypto) {
|
||||||
this.opts.crypto.enableLazyLoading();
|
this.opts.crypto.enableLazyLoading();
|
||||||
}
|
}
|
||||||
await this.client._storeClientOptions();
|
await this.client._storeClientOptions();
|
||||||
|
|||||||
Reference in New Issue
Block a user