From 36d7b8e3ed2941cb62cdd68610d1c62b4ad1958e Mon Sep 17 00:00:00 2001 From: Zoe Date: Fri, 31 Jan 2020 09:59:24 +0000 Subject: [PATCH] don't close in UI, a js-sdk event will do that --- src/components/views/toasts/VerificationRequestToast.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/views/toasts/VerificationRequestToast.js b/src/components/views/toasts/VerificationRequestToast.js index 61d26c60cc..5125e20261 100644 --- a/src/components/views/toasts/VerificationRequestToast.js +++ b/src/components/views/toasts/VerificationRequestToast.js @@ -38,11 +38,6 @@ export default class VerificationRequestToast extends React.PureComponent { let {counter} = this.state; counter = Math.max(0, counter - 1); this.setState({counter}); - - if (counter == 0) { - clearInterval(this._intervalHandle); - this.cancel(); - } }, 1000); } request.on("change", this._checkRequestIsPending);