1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Implement VerificationRequest.cancel (#3505)

This commit is contained in:
Richard van der Hoff
2023-06-26 17:56:57 +01:00
committed by GitHub
parent 326a13bcfe
commit d1dec4cd08
3 changed files with 42 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ export interface VerificationRequest
* Cancels the request, sending a cancellation to the other party
*
* @param params - Details for the cancellation, including `reason` (defaults to "User declined"), and `code`
* (defaults to `m.user`).
* (defaults to `m.user`). **Deprecated**: this parameter is ignored by the Rust cryptography implementation.
*
* @returns Promise which resolves when the event has been sent.
*/