Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Replace beginKeyVerification with startVerification (#11167)
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh authored Jun 30, 2023
1 parent 3fb4dac commit 2ea8a03
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/views/right_panel/VerificationPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -399,12 +399,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat

private startSAS = async (): Promise<void> => {
this.setState({ emojiButtonClicked: true });
const verifier = this.props.request.beginKeyVerification(verificationMethods.SAS);
try {
await verifier.verify();
} catch (err) {
logger.error(err);
}
await this.props.request.startVerification(verificationMethods.SAS);
};

private onSasMatchesClick = (): void => {
Expand Down

0 comments on commit 2ea8a03

Please sign in to comment.