Skip to content

Commit 48b0196

Browse files
committed
update property name
1 parent f831162 commit 48b0196

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

proposals/2732-olm-fallback-keys.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ if Alice had previously uploaded one. Unlike with one-time keys, fallback keys
4848
are not deleted when they are returned by `/keys/claim`. However, the server
4949
marks 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
5858
supports fallback keys. Clients can thus treat this field as an indication
5959
that the server supports fallback keys, and so only upload fallback keys to
6060
servers 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`
9797
response parameter will be prefixed by `org.matrix.msc2732.`.

0 commit comments

Comments
 (0)