Add reciprocate as a method

pull/21833/head
Travis Ralston 2020-01-31 12:23:59 +00:00 committed by Bruno Windels
parent afc38b92a0
commit ccde5530d2
2 changed files with 2 additions and 1 deletions

View File

@ -136,6 +136,7 @@ export default class DeviceVerifyDialog extends React.Component {
verificationMethods.SAS,
SHOW_QR_CODE_METHOD,
SCAN_QR_CODE_METHOD,
verificationMethods.RECIPROCATE_QR_CODE,
]);
await this._request.waitFor(r => r.ready || r.started);

View File

@ -43,7 +43,7 @@ export default class NewSessionReviewDialog extends React.PureComponent {
const cli = MatrixClientPeg.get();
const request = await cli.requestVerification(
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],
);