remove dead code

pull/21833/head
Bruno Windels 2020-02-10 17:07:02 +01:00
parent 5c89b41177
commit 4b8382b5c4
1 changed files with 0 additions and 23 deletions

View File

@ -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) {