From 1ff1575b427dec63eda52d0ed586f4338dad340e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 10 Feb 2020 16:59:47 +0100 Subject: [PATCH] remove dead code --- src/components/views/toasts/VerificationRequestToast.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/views/toasts/VerificationRequestToast.js b/src/components/views/toasts/VerificationRequestToast.js index 92402c3f98..a831505a05 100644 --- a/src/components/views/toasts/VerificationRequestToast.js +++ b/src/components/views/toasts/VerificationRequestToast.js @@ -99,14 +99,6 @@ export default class VerificationRequestToast extends React.PureComponent { verificationRequest: request, }, null, /* priority = */ false, /* static = */ true); } - - // } else if (request.channel.deviceId && request.verifier) { - // // show to_device verifications in dialog still - // const IncomingSasDialog = sdk.getComponent("views.dialogs.IncomingSasDialog"); - // Modal.createTrackedDialog('Incoming Verification', '', IncomingSasDialog, { - // verifier: request.verifier, - // }, null, /* priority = */ false, /* static = */ true); - // } } catch (err) { console.error(err.message); }