Skip to content

Commit

Permalink
Merge pull request #3199 from uhoreg/deprecate_verification_start_spec
Browse files Browse the repository at this point in the history
Deprecate verifications that don't begin with a request.
  • Loading branch information
uhoreg authored and richvdh committed Aug 27, 2021
2 parents 96b86b0 + b3b6fb3 commit c4e9e90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/3199.deprecaation
Original file line number Diff line number Diff line change
@@ -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).
4 changes: 3 additions & 1 deletion content/client-server-api/modules/end_to_end_encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4e9e90

Please sign in to comment.