From ed89f4cbae8f2d6371b9c06b59e7ee10e28859c7 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Thu, 26 May 2022 16:02:52 +0200 Subject: [PATCH] Link to Megolm session sharing/export format in more places. --- data/event-schemas/schema/m.forwarded_room_key.yaml | 5 +++-- data/event-schemas/schema/m.room_key.yaml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/event-schemas/schema/m.forwarded_room_key.yaml b/data/event-schemas/schema/m.forwarded_room_key.yaml index 71ea6690..defb78fc 100644 --- a/data/event-schemas/schema/m.forwarded_room_key.yaml +++ b/data/event-schemas/schema/m.forwarded_room_key.yaml @@ -22,10 +22,11 @@ properties: The Curve25519 key of the device which initiated the session originally. session_id: type: string - description: The ID of the session that the key is for. + description: The ID of the Megolm session that the key is for. session_key: type: string - description: The key to be exchanged. + description: The Megolm key to be exchanged, in [session export + format](https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md#session-export-format). sender_claimed_ed25519_key: type: string description: |- diff --git a/data/event-schemas/schema/m.room_key.yaml b/data/event-schemas/schema/m.room_key.yaml index 6eebbec5..1a809128 100644 --- a/data/event-schemas/schema/m.room_key.yaml +++ b/data/event-schemas/schema/m.room_key.yaml @@ -21,7 +21,8 @@ properties: description: The ID of the session that the key is for. session_key: type: string - description: The key to be exchanged. + description: The Megolm key to be exchanged, in [session sharing + format](https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md#session-sharing-format). required: - algorithm - room_id