From 4b8382b5c45f602e88297120e6838a1754140d89 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 10 Feb 2020 17:07:02 +0100 Subject: [PATCH] remove dead code --- src/components/views/right_panel/UserInfo.js | 23 -------------------- 1 file changed, 23 deletions(-) diff --git a/src/components/views/right_panel/UserInfo.js b/src/components/views/right_panel/UserInfo.js index fc1f5bfcc9..9e0682e380 100644 --- a/src/components/views/right_panel/UserInfo.js +++ b/src/components/views/right_panel/UserInfo.js @@ -174,29 +174,6 @@ async function verifyDevice(userId, device) { primaryButton: _t("Done"), cancelButton: _t("Manually Verify"), }); - - // const cli = MatrixClientPeg.get(); - // const verificationRequest = await cli.requestVerification( - // userId, - // [ - // verificationMethods.SAS, - // SHOW_QR_CODE_METHOD, - // SCAN_QR_CODE_METHOD, - // verificationMethods.RECIPROCATE_QR_CODE, - // ], - // [device.deviceId], - // ); - // dis.dispatch({ - // action: "set_right_panel_phase", - // phase: RIGHT_PANEL_PHASES.EncryptionPanel, - // refireParams: {member, verificationRequest}, - // }); - - // const DeviceVerifyDialog = sdk.getComponent('views.dialogs.DeviceVerifyDialog'); - // Modal.createTrackedDialog('Device Verify Dialog', '', DeviceVerifyDialog, { - // userId: userId, - // device: device, - // }, null, /* priority = */ false, /* static = */ true); } function verifyUser(user) {