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

Commit 2ea8a03

Browse files
authored
Replace beginKeyVerification with startVerification (#11167)
1 parent 3fb4dac commit 2ea8a03

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/components/views/right_panel/VerificationPanel.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,12 +399,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat
399399

400400
private startSAS = async (): Promise<void> => {
401401
this.setState({ emojiButtonClicked: true });
402-
const verifier = this.props.request.beginKeyVerification(verificationMethods.SAS);
403-
try {
404-
await verifier.verify();
405-
} catch (err) {
406-
logger.error(err);
407-
}
402+
await this.props.request.startVerification(verificationMethods.SAS);
408403
};
409404

410405
private onSasMatchesClick = (): void => {

0 commit comments

Comments
 (0)