remove methods arg to requestVerification(DM)
as it's easy to have this argument be out of sync from all the places this is called from the js-sdk. There is also little point, as you can already specify the methods a consumer of the js-sdk wants to provide through the verificationMethods option when creating the client object.
This commit is contained in:
parent
91c9c00712
commit
a1844e44f2
3 changed files with 1 additions and 13 deletions
|
@ -157,12 +157,6 @@ async function verifyDevice(userId, device) {
|
|||
const cli = MatrixClientPeg.get();
|
||||
const verificationRequest = await cli.requestVerification(
|
||||
userId,
|
||||
[
|
||||
verificationMethods.SAS,
|
||||
SHOW_QR_CODE_METHOD,
|
||||
SCAN_QR_CODE_METHOD,
|
||||
verificationMethods.RECIPROCATE_QR_CODE,
|
||||
],
|
||||
[device.deviceId],
|
||||
);
|
||||
dis.dispatch({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue