You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Only say the session is verified if it is now verified
This commit is contained in:
@@ -44,9 +44,12 @@ export default class CompleteSecurity extends React.Component {
|
|||||||
await accessSecretStorage(async () => {
|
await accessSecretStorage(async () => {
|
||||||
await cli.checkOwnCrossSigningTrust();
|
await cli.checkOwnCrossSigningTrust();
|
||||||
});
|
});
|
||||||
this.setState({
|
|
||||||
phase: PHASE_DONE,
|
if (cli.getCrossSigningId()) {
|
||||||
});
|
this.setState({
|
||||||
|
phase: PHASE_DONE,
|
||||||
|
});
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// this will throw if the user hits cancel, so ignore
|
// this will throw if the user hits cancel, so ignore
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user