Merge pull request #3199 from uhoreg/deprecate_verification_start_spec

Deprecate verifications that don't begin with a request.
This commit is contained in:
Hubert Chathi 2021-05-20 18:06:11 -04:00 committed by Richard van der Hoff
commit c4e9e904e2
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1 @@
Deprecate starting verifications that don't start with `m.key.verification.request` as per [MSC3122](https://github.com/matrix-org/matrix-doc/pull/3122).

View file

@ -528,7 +528,9 @@ method, then the verification should be cancelled with a `code` of
`m.unexpected_message`.
An `m.key.verification.start` message can also be sent independently of any
request, specifying the verification method to use.
request, specifying the verification method to use. This behaviour is
deprecated, and new clients should not begin verifications in this way.
However, clients should handle such verifications started by other clients.
Individual verification methods may add additional steps, events, and
properties to the verification messages. Event types for methods defined