From 48b0196ac6d2605a6f5a983621b81b74bd983c4d Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Fri, 2 Oct 2020 15:52:35 -0400 Subject: [PATCH] update property name --- proposals/2732-olm-fallback-keys.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/proposals/2732-olm-fallback-keys.md b/proposals/2732-olm-fallback-keys.md index d6be01f1..854b48c7 100644 --- a/proposals/2732-olm-fallback-keys.md +++ b/proposals/2732-olm-fallback-keys.md @@ -48,13 +48,13 @@ if Alice had previously uploaded one. Unlike with one-time keys, fallback keys are not deleted when they are returned by `/keys/claim`. However, the server marks that they have been used. -A new response parameter, `device_unused_fallback_keys`, is added to `/sync`. -This is an array listing the key algorithms for which the server has an unused -fallback key for the user. If the client wants the server to have a fallback -key for a given key algorithm, but that algorithm is not listed in -`device_unused_fallback_keys`, the client will upload a new key as above. +A new response parameter, `device_unused_fallback_key_types`, is added to +`/sync`. This is an array listing the key algorithms for which the server has +an unused fallback key for the user. If the client wants the server to have a +fallback key for a given key algorithm, but that algorithm is not listed in +`device_unused_fallback_key_types`, the client will upload a new key as above. -The `device_unused_fallback_keys` parameter must be present if the server +The `device_unused_fallback_key_types` parameter must be present if the server supports fallback keys. Clients can thus treat this field as an indication that the server supports fallback keys, and so only upload fallback keys to servers that support them. @@ -68,7 +68,7 @@ Response: ```json { // other fields... - "device_unused_fallback_keys": ["signed_curve25519"] + "device_unused_fallback_key_types": ["signed_curve25519"] } ``` @@ -93,5 +93,5 @@ to detect replays. ## Unstable prefix -The `fallback_key` request parameter and the `device_unused_fallback_keys` +The `fallback_key` request parameter and the `device_unused_fallback_key_types` response parameter will be prefixed by `org.matrix.msc2732.`.