This commit is contained in:
Bruno Windels 2020-02-10 14:48:10 +01:00
parent 2a8453b939
commit a693af0c6b
4 changed files with 2 additions and 6 deletions

View file

@ -132,7 +132,7 @@ export default class DeviceVerifyDialog extends React.Component {
this._verifier = request.verifier;
}
} else if (verifyingOwnDevice && SettingsStore.isFeatureEnabled("feature_cross_signing")) {
this._request = await client.requestVerification(this.props.userId,[
this._request = await client.requestVerification(this.props.userId, [
verificationMethods.SAS,
SHOW_QR_CODE_METHOD,
]);

View file

@ -24,7 +24,6 @@ import BaseDialog from './BaseDialog';
import DialogButtons from '../elements/DialogButtons';
import {verificationMethods} from 'matrix-js-sdk/src/crypto';
import {MatrixClientPeg} from "../../../MatrixClientPeg";
import {RIGHT_PANEL_PHASES} from "../../../stores/RightPanelStorePhases";
import {SHOW_QR_CODE_METHOD} from "matrix-js-sdk/src/crypto/verification/QRCode";
@replaceableComponent("views.dialogs.NewSessionReviewDialog")