mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 22:41:07 +02:00
Merge pull request #3985 from matrix-org/jryans/relax-account-data-check
Relax secret storage account data check
This commit is contained in:
commit
786ddb8a7e
@ -1864,7 +1864,9 @@ export default createReactClass({
|
||||
try {
|
||||
masterKeyInStorage = !!await cli.getAccountDataFromServer("m.cross_signing.master");
|
||||
} catch (e) {
|
||||
if (e.errcode !== "M_NOT_FOUND") throw e;
|
||||
if (e.errcode !== "M_NOT_FOUND") {
|
||||
console.warn("Secret storage account data check failed", e);
|
||||
}
|
||||
}
|
||||
|
||||
if (masterKeyInStorage) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user