From e201f4977ef9dde7b5e78a661e3d263c9bb90d20 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Tue, 18 May 2021 13:04:11 -0400 Subject: [PATCH 1/2] Deprecate verifications that don't begin with a request. --- content/client-server-api/modules/end_to_end_encryption.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/client-server-api/modules/end_to_end_encryption.md b/content/client-server-api/modules/end_to_end_encryption.md index bbacad6e5..cbd4f161b 100644 --- a/content/client-server-api/modules/end_to_end_encryption.md +++ b/content/client-server-api/modules/end_to_end_encryption.md @@ -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 From 78adb21455431690f542ce71949e7e3f6a5adbca Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Tue, 18 May 2021 13:09:21 -0400 Subject: [PATCH 2/2] add changelog --- changelogs/client_server/newsfragments/3199.deprecaation | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/client_server/newsfragments/3199.deprecaation diff --git a/changelogs/client_server/newsfragments/3199.deprecaation b/changelogs/client_server/newsfragments/3199.deprecaation new file mode 100644 index 000000000..6b51df6e3 --- /dev/null +++ b/changelogs/client_server/newsfragments/3199.deprecaation @@ -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).