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
use USK as we'll only have that around when using key sharing
This commit is contained in:
@@ -29,8 +29,8 @@ export async function enable4SIfNeeded() {
|
||||
if (!cli.isCryptoEnabled() || !SettingsStore.isFeatureEnabled("feature_cross_signing")) {
|
||||
return false;
|
||||
}
|
||||
const masterPK = cli.getCrossSigningId();
|
||||
if (!masterPK) {
|
||||
const usk = cli.getCrossSigningId("user_signing");
|
||||
if (!usk) {
|
||||
await accessSecretStorage();
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user