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,
|
||||
SHOW_QR_CODE_METHOD,
|
||||
SCAN_QR_CODE_METHOD,
|
||||
verificationMethods.RECIPROCATE_QR_CODE,
|
||||
]);
|
||||
|
||||
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 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],
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue