Relax secret storage account data check
If the homeserver is confused about account data or otherwise explodes here, we don't want to block login, so just warn in this case.
This commit is contained in:
parent
d8ca9d0f13
commit
6f0d88a126
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