diff --git a/src/components/views/dialogs/NewSessionReviewDialog.js b/src/components/views/dialogs/NewSessionReviewDialog.js index cab30c4d14..48c15ab06a 100644 --- a/src/components/views/dialogs/NewSessionReviewDialog.js +++ b/src/components/views/dialogs/NewSessionReviewDialog.js @@ -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, }); diff --git a/src/components/views/dialogs/DeviceVerifyOwnDialog.js b/src/components/views/dialogs/VerificationRequestDialog.js similarity index 94% rename from src/components/views/dialogs/DeviceVerifyOwnDialog.js rename to src/components/views/dialogs/VerificationRequestDialog.js index 4a75cc16ec..f47d76ab94 100644 --- a/src/components/views/dialogs/DeviceVerifyOwnDialog.js +++ b/src/components/views/dialogs/VerificationRequestDialog.js @@ -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,