mirror of https://github.com/vector-im/riot-web
fix lint
parent
073c2c525f
commit
b97b887305
|
@ -46,7 +46,6 @@ export default class ManualDeviceKeyVerificationDialog extends React.Component {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||||
const AccessibleButton = sdk.getComponent('views.elements.AccessibleButton');
|
|
||||||
|
|
||||||
let text;
|
let text;
|
||||||
if (MatrixClientPeg.get().getUserId() === this.props.userId) {
|
if (MatrixClientPeg.get().getUserId() === this.props.userId) {
|
||||||
|
|
|
@ -82,10 +82,13 @@ export async function verifyDevice(user, device) {
|
||||||
});
|
});
|
||||||
} else if (action === "legacy") {
|
} else if (action === "legacy") {
|
||||||
const ManualDeviceKeyVerificationDialog = sdk.getComponent("dialogs.ManualDeviceKeyVerificationDialog");
|
const ManualDeviceKeyVerificationDialog = sdk.getComponent("dialogs.ManualDeviceKeyVerificationDialog");
|
||||||
Modal.createTrackedDialog("Legacy verify session", "legacy verify session", ManualDeviceKeyVerificationDialog, {
|
Modal.createTrackedDialog("Legacy verify session", "legacy verify session",
|
||||||
userId: user.userId,
|
ManualDeviceKeyVerificationDialog,
|
||||||
device,
|
{
|
||||||
});
|
userId: user.userId,
|
||||||
|
device,
|
||||||
|
},
|
||||||
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue