@@ -48,13 +48,13 @@ if Alice had previously uploaded one. Unlike with one-time keys, fallback keys
4848are not deleted when they are returned by ` /keys/claim ` . However, the server
4949marks that they have been used.
5050
51- A new response parameter, ` device_unused_fallback_keys ` , is added to ` /sync ` .
52- This is an array listing the key algorithms for which the server has an unused
53- fallback key for the user. If the client wants the server to have a fallback
54- key for a given key algorithm, but that algorithm is not listed in
55- ` device_unused_fallback_keys ` , the client will upload a new key as above.
51+ A new response parameter, ` device_unused_fallback_key_types ` , is added to
52+ ` /sync ` . This is an array listing the key algorithms for which the server has
53+ an unused fallback key for the user. If the client wants the server to have a
54+ fallback key for a given key algorithm, but that algorithm is not listed in
55+ ` device_unused_fallback_key_types ` , the client will upload a new key as above.
5656
57- The ` device_unused_fallback_keys ` parameter must be present if the server
57+ The ` device_unused_fallback_key_types ` parameter must be present if the server
5858supports fallback keys. Clients can thus treat this field as an indication
5959that the server supports fallback keys, and so only upload fallback keys to
6060servers that support them.
@@ -68,7 +68,7 @@ Response:
6868``` json
6969{
7070 // other fields...
71- "device_unused_fallback_keys " : [" signed_curve25519" ]
71+ "device_unused_fallback_key_types " : [" signed_curve25519" ]
7272}
7373```
7474
@@ -93,5 +93,5 @@ to detect replays.
9393
9494## Unstable prefix
9595
96- The ` fallback_key ` request parameter and the ` device_unused_fallback_keys `
96+ The ` fallback_key ` request parameter and the ` device_unused_fallback_key_types `
9797response parameter will be prefixed by ` org.matrix.msc2732. ` .
0 commit comments