From 2dd1e93d84dbf5a0b20de70d09ecb8cb8fece4f2 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 20 Dec 2019 21:30:18 +0100 Subject: [PATCH] show message after clicking "they match" --- src/components/views/right_panel/VerificationPanel.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/views/right_panel/VerificationPanel.js b/src/components/views/right_panel/VerificationPanel.js index c3fce4314b..ff7a356e70 100644 --- a/src/components/views/right_panel/VerificationPanel.js +++ b/src/components/views/right_panel/VerificationPanel.js @@ -35,7 +35,9 @@ export default class VerificationPanel extends React.PureComponent { } else if (request.ready) { return (

{request.otherUserId} is ready, start Verify by emoji

); } else if (request.started) { - if (this.state.sasEvent) { + if (this.state.sasWaitingForOtherParty) { + return

Waiting for {request.otherUserId} to confirm ...

; + } else if (this.state.sasEvent) { const VerificationShowSas = sdk.getComponent('views.verification.VerificationShowSas'); return (
{ + this.setState({sasWaitingForOtherParty: true}); this.state.sasEvent.confirm(); };