From 119fd2f5191a039314ad64b7db6e9e277dd267d4 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 2 Apr 2020 11:27:00 +0200 Subject: [PATCH] fixup: these are actually on the verifier --- src/components/views/right_panel/VerificationPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/right_panel/VerificationPanel.js b/src/components/views/right_panel/VerificationPanel.js index 58d07e318c..c640c73055 100644 --- a/src/components/views/right_panel/VerificationPanel.js +++ b/src/components/views/right_panel/VerificationPanel.js @@ -282,7 +282,7 @@ export default class VerificationPanel extends React.PureComponent { _updateVerifierState = () => { const {request} = this.props; - const {sasEvent, reciprocateQREvent} = request; + const {sasEvent, reciprocateQREvent} = request.verifier; request.verifier.off('show_sas', this._updateVerifierState); request.verifier.off('show_reciprocate_qr', this._updateVerifierState); this.setState({sasEvent, reciprocateQREvent}); @@ -310,7 +310,7 @@ export default class VerificationPanel extends React.PureComponent { request.on("change", this._onRequestChange); if (request.verifier) { const {request} = this.props; - const {sasEvent, reciprocateQREvent} = request; + const {sasEvent, reciprocateQREvent} = request.verifier; this.setState({sasEvent, reciprocateQREvent}); } this._onRequestChange();