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:
Hubert Chathi
2025-11-19 12:28:08 -05:00
committed by GitHub
parent dd89cee328
commit 0a46edaaff
5 changed files with 9 additions and 59 deletions

View File

@@ -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,