From c0d54ab4d9a8a0fd97f1effadc49cd987a0aa857 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 12 Oct 2022 09:52:04 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- content/client-server-api/modules/end_to_end_encryption.md | 2 +- .../schema/m.room.message$m.key.verification.request.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 1c310e78..51251b0d 100644 --- a/content/client-server-api/modules/end_to_end_encryption.md +++ b/content/client-server-api/modules/end_to_end_encryption.md @@ -434,7 +434,7 @@ shared by the other messages of that session. In general, verification operates as follows: -- Alice requests a key verification with Bob by sending an key verification +- Alice requests a key verification with Bob by sending a key verification request event. If the verification is being requested in a room, this will be an event with type `m.room.message` and `msgtype` `m.key.verification.request`; if the verification is being requested using diff --git a/data/event-schemas/schema/m.room.message$m.key.verification.request.yaml b/data/event-schemas/schema/m.room.message$m.key.verification.request.yaml index 4eb4483a..c0a0764c 100644 --- a/data/event-schemas/schema/m.room.message$m.key.verification.request.yaml +++ b/data/event-schemas/schema/m.room.message$m.key.verification.request.yaml @@ -11,7 +11,7 @@ properties: body: type: string description: |- - a fallback message to alert users that their client does not support + A fallback message to alert users that their client does not support the key verification framework, and that they should use a different method to verify keys. For example, "Alice is requesting to verify keys with you. However, your client does not support this method, so you will need to use @@ -58,6 +58,7 @@ properties: - from_device - methods - msgtype + - to type: object type: enum: