You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-31 15:24:23 +03:00
Element-R: Implement VerificationRequest.accept
(#3526)
* Pass `supportedVerificationMethods` into `VerificationRequest` ... so that the application can later call `accept()` and we know what to send. * Implement `VerificationRequest.accept` * Implement `VerificationRequest.declining` * Update src/rust-crypto/verification.ts
This commit is contained in:
committed by
GitHub
parent
c271e1533a
commit
3a8a1389f5
@ -32,7 +32,7 @@ describe("VerificationRequest", () => {
|
||||
startSas: jest.fn(),
|
||||
} as unknown as Mocked<RustSdkCryptoJs.VerificationRequest>;
|
||||
mockedOutgoingRequestProcessor = {} as Mocked<OutgoingRequestProcessor>;
|
||||
request = new RustVerificationRequest(mockedInner, mockedOutgoingRequestProcessor);
|
||||
request = new RustVerificationRequest(mockedInner, mockedOutgoingRequestProcessor, undefined);
|
||||
});
|
||||
|
||||
it("does not permit methods other than SAS", async () => {
|
||||
|
Reference in New Issue
Block a user