From 40c50c80ea4a8c26dfd20d766c995e11ee7837e1 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Mon, 1 Jun 2020 22:34:45 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Travis Ralston --- api/client-server/key_backup.yaml | 2 +- specification/modules/end_to_end_encryption.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/client-server/key_backup.yaml b/api/client-server/key_backup.yaml index 1a79db31..ffdafcf4 100644 --- a/api/client-server/key_backup.yaml +++ b/api/client-server/key_backup.yaml @@ -1,4 +1,4 @@ -# Copyright 2019 The Matrix.org Foundation C.I.C. +# Copyright 2019-2020 The Matrix.org Foundation C.I.C. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/specification/modules/end_to_end_encryption.rst b/specification/modules/end_to_end_encryption.rst index 8f26477a..79228596 100644 --- a/specification/modules/end_to_end_encryption.rst +++ b/specification/modules/end_to_end_encryption.rst @@ -785,7 +785,7 @@ To create a backup, a client will call `POST encrypted through the backup's ``auth_data``; other clients can discover the backup by calling `GET /_matrix/client/r0/room_keys/version/{version}`_, setting ``{version}`` to the empty string. Keys are encrypted according to the -backups ``auth_data`` and added to the backup by calling `PUT +backup's ``auth_data`` and added to the backup by calling `PUT /_matrix/client/r0/room_keys/keys`_ or one of its variants, and can be retrieved by calling `GET /_matrix/client/r0/room_keys/keys`_ or one of its variants. Keys can only be written to the most recently created version of the