rename DeviceVerifyOwnDialog to VerificationRequestDialog
as it works (and we want to use it) for any verification request, not just between two devices of the same userpull/21833/head
parent
ea4d97fa73
commit
39fab02fcc
|
@ -19,7 +19,7 @@ import PropTypes from 'prop-types';
|
|||
import { _t } from '../../../languageHandler';
|
||||
import Modal from '../../../Modal';
|
||||
import { replaceableComponent } from '../../../utils/replaceableComponent';
|
||||
import DeviceVerifyOwnDialog from './DeviceVerifyOwnDialog';
|
||||
import VerificationRequestDialog from './VerificationRequestDialog';
|
||||
import BaseDialog from './BaseDialog';
|
||||
import DialogButtons from '../elements/DialogButtons';
|
||||
import {verificationMethods} from 'matrix-js-sdk/src/crypto';
|
||||
|
@ -50,7 +50,7 @@ export default class NewSessionReviewDialog extends React.PureComponent {
|
|||
|
||||
this.props.onFinished(true);
|
||||
|
||||
Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyOwnDialog, {
|
||||
Modal.createTrackedDialog('New Session Verification', 'Starting dialog', VerificationRequestDialog, {
|
||||
verificationRequest: request,
|
||||
});
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ import PropTypes from 'prop-types';
|
|||
import {MatrixClientPeg} from '../../../MatrixClientPeg';
|
||||
import * as sdk from '../../../index';
|
||||
|
||||
export default class DeviceVerifyOwnDialog extends React.Component {
|
||||
export default class VerificationRequestDialog extends React.Component {
|
||||
static propTypes = {
|
||||
verificationRequest: PropTypes.object.isRequired,
|
||||
onFinished: PropTypes.func.isRequired,
|
Loading…
Reference in New Issue