Remove obsolete checks that the server supports cross-signing (#31275)
We already depend on an API version that includes cross-signing
This commit is contained in:
@@ -427,10 +427,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
} else {
|
||||
this.setStateForNewView({ view: Views.COMPLETE_SECURITY });
|
||||
}
|
||||
} else if (
|
||||
(await cli.doesServerSupportUnstableFeature("org.matrix.e2e_cross_signing")) &&
|
||||
!(await shouldSkipSetupEncryption(cli))
|
||||
) {
|
||||
} else if (!(await shouldSkipSetupEncryption(cli))) {
|
||||
// if cross-signing is not yet set up, do so now if possible.
|
||||
InitialCryptoSetupStore.sharedInstance().startInitialCryptoSetup(
|
||||
cli,
|
||||
|
||||
Reference in New Issue
Block a user