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

Commit

Permalink
Update method names
Browse files Browse the repository at this point in the history
These methods got renamed in the js-sdk PR
  • Loading branch information
richvdh committed Jun 2, 2023
1 parent d17b852 commit 17a0155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/right_panel/VerificationPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat
private updateVerifierState = (): void => {
const { request } = this.props;
const sasEvent = request.verifier.getShowSasCallbacks();
const reciprocateQREvent = request.verifier.getShowQrCodeCallbacks();
const reciprocateQREvent = request.verifier.getReciprocateQrCodeCallbacks();
request.verifier?.off(VerifierEvent.ShowSas, this.updateVerifierState);
request.verifier?.off(VerifierEvent.ShowReciprocateQr, this.updateVerifierState);
this.setState({ sasEvent, reciprocateQREvent });
Expand Down Expand Up @@ -428,7 +428,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat
request.on(VerificationRequestEvent.Change, this.onRequestChange);
if (request.verifier) {
const sasEvent = request.verifier.getShowSasCallbacks();
const reciprocateQREvent = request.verifier.getShowQrCodeCallbacks();
const reciprocateQREvent = request.verifier.getReciprocateQrCodeCallbacks();
this.setState({ sasEvent, reciprocateQREvent });
}
this.onRequestChange();
Expand Down

0 comments on commit 17a0155

Please sign in to comment.