From d224c4ff715456cb1d65fbac0c82e1e2eaf39801 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Mon, 25 Mar 2019 18:13:14 -0400 Subject: [PATCH] fix some errors in key export format - empirically, we don't acatually wrap the array in an object - fix an incorrect type --- specification/modules/end_to_end_encryption.rst | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/specification/modules/end_to_end_encryption.rst b/specification/modules/end_to_end_encryption.rst index 3b5bd4d9e..59d241b67 100644 --- a/specification/modules/end_to_end_encryption.rst +++ b/specification/modules/end_to_end_encryption.rst @@ -496,18 +496,9 @@ passphrase, and is created as follows: Key export format <<<<<<<<<<<<<<<<< -The exported sessions are formatted as a JSON object of type ``ExportData`` +The exported sessions are formatted as a JSON array of ``SessionData`` objects described as follows: -``ExportData`` - -=============== ================= ============================================== -Parameter Type Description -=============== ================= ============================================== -sessions ``[SessionData]`` Required. The sessions that are being - exported. -=============== ================= ============================================== - ``SessionData`` .. table:: @@ -529,7 +520,7 @@ sessions ``[SessionData]`` Required. The sessions that are being device which initiated the session originally. sender_claimed_keys {string: Required. The Ed25519 key of the - integer} device which initiated the session + string} device which initiated the session originally. session_id string Required. The ID of the session. session_key string Required. The key for the session.