Convert cross-signing feature flag to setting
This is intended as a temporary measure until we're comfortable with removing the flag entirely.
This commit is contained in:
parent
2929bcf998
commit
b4e2daaf46
24 changed files with 38 additions and 37 deletions
|
@ -77,7 +77,7 @@ export default class CreateKeyBackupDialog extends React.PureComponent {
|
|||
async componentDidMount() {
|
||||
const cli = MatrixClientPeg.get();
|
||||
const secureSecretStorage = (
|
||||
SettingsStore.isFeatureEnabled("feature_cross_signing") &&
|
||||
SettingsStore.getValue("feature_cross_signing") &&
|
||||
await cli.doesServerSupportUnstableFeature("org.matrix.e2e_cross_signing")
|
||||
);
|
||||
this.setState({ secureSecretStorage });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue