You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-16 06:42:26 +03:00
remove dead code
This commit is contained in:
@@ -174,29 +174,6 @@ async function verifyDevice(userId, device) {
|
|||||||
primaryButton: _t("Done"),
|
primaryButton: _t("Done"),
|
||||||
cancelButton: _t("Manually Verify"),
|
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) {
|
function verifyUser(user) {
|
||||||
|
|||||||
Reference in New Issue
Block a user