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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue