mirror of https://github.com/vector-im/riot-web
Add reciprocate as a method
parent
afc38b92a0
commit
ccde5530d2
|
@ -136,6 +136,7 @@ export default class DeviceVerifyDialog extends React.Component {
|
||||||
verificationMethods.SAS,
|
verificationMethods.SAS,
|
||||||
SHOW_QR_CODE_METHOD,
|
SHOW_QR_CODE_METHOD,
|
||||||
SCAN_QR_CODE_METHOD,
|
SCAN_QR_CODE_METHOD,
|
||||||
|
verificationMethods.RECIPROCATE_QR_CODE,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
await this._request.waitFor(r => r.ready || r.started);
|
await this._request.waitFor(r => r.ready || r.started);
|
||||||
|
|
|
@ -43,7 +43,7 @@ export default class NewSessionReviewDialog extends React.PureComponent {
|
||||||
const cli = MatrixClientPeg.get();
|
const cli = MatrixClientPeg.get();
|
||||||
const request = await cli.requestVerification(
|
const request = await cli.requestVerification(
|
||||||
userId,
|
userId,
|
||||||
[verificationMethods.SAS, SHOW_QR_CODE_METHOD, SCAN_QR_CODE_METHOD],
|
[verificationMethods.SAS, SHOW_QR_CODE_METHOD, SCAN_QR_CODE_METHOD, verificationMethods.RECIPROCATE_QR_CODE],
|
||||||
[device.deviceId],
|
[device.deviceId],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue