From 2ea8a030ea3186975b9526492f57226f296a4771 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 30 Jun 2023 13:09:06 +0100 Subject: [PATCH] Replace `beginKeyVerification` with `startVerification` (#11167) --- src/components/views/right_panel/VerificationPanel.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/views/right_panel/VerificationPanel.tsx b/src/components/views/right_panel/VerificationPanel.tsx index d3a2b98ba50..f82c974ec2d 100644 --- a/src/components/views/right_panel/VerificationPanel.tsx +++ b/src/components/views/right_panel/VerificationPanel.tsx @@ -399,12 +399,7 @@ export default class VerificationPanel extends React.PureComponent => { 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 => {