diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 7cbec11e08..3ac8a93e3d 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1455,7 +1455,6 @@ export default createReactClass({ cli.on("crypto.verification.request", request => { console.log(`MatrixChat got a .request ${request.channel.transactionId}`, request.event.getRoomId()); if (request.pending) { - console.log(`emitting toast for verification request with txnid ${request.channel.transactionId}`, request.event && request.event.getId()); ToastStore.sharedInstance().addOrReplaceToast({ key: 'verifreq_' + request.channel.transactionId, title: _t("Verification Request"), diff --git a/src/components/views/right_panel/VerificationPanel.js b/src/components/views/right_panel/VerificationPanel.js index 4dee3e6ae8..0d28e1568f 100644 --- a/src/components/views/right_panel/VerificationPanel.js +++ b/src/components/views/right_panel/VerificationPanel.js @@ -41,7 +41,10 @@ export default class VerificationPanel extends React.PureComponent { if (request.requested) { return (

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

); } else if (request.ready) { - return (

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

); + const verifyButton = + Verify by emoji + ; + return (

{request.otherUserId} is ready, start {verifyButton}

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

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

;