mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
cleanup
This commit is contained in:
parent
ccde5530d2
commit
9dde09d36f
@ -43,7 +43,12 @@ 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.RECIPROCATE_QR_CODE],
|
[
|
||||||
|
verificationMethods.SAS,
|
||||||
|
SHOW_QR_CODE_METHOD,
|
||||||
|
SCAN_QR_CODE_METHOD,
|
||||||
|
verificationMethods.RECIPROCATE_QR_CODE,
|
||||||
|
],
|
||||||
[device.deviceId],
|
[device.deviceId],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2019, 2020 The Matrix.org Foundation C.I.C.
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
Loading…
Reference in New Issue
Block a user