You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Merge pull request #3985 from matrix-org/jryans/relax-account-data-check
Relax secret storage account data check
This commit is contained in:
@@ -1864,7 +1864,9 @@ export default createReactClass({
|
|||||||
try {
|
try {
|
||||||
masterKeyInStorage = !!await cli.getAccountDataFromServer("m.cross_signing.master");
|
masterKeyInStorage = !!await cli.getAccountDataFromServer("m.cross_signing.master");
|
||||||
} catch (e) {
|
} 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) {
|
if (masterKeyInStorage) {
|
||||||
|
|||||||
Reference in New Issue
Block a user