mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-28 21:34:09 +02:00
update property name
This commit is contained in:
parent
f831162563
commit
48b0196ac6
|
|
@ -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
|
are not deleted when they are returned by `/keys/claim`. However, the server
|
||||||
marks that they have been used.
|
marks that they have been used.
|
||||||
|
|
||||||
A new response parameter, `device_unused_fallback_keys`, is added to `/sync`.
|
A new response parameter, `device_unused_fallback_key_types`, is added to
|
||||||
This is an array listing the key algorithms for which the server has an unused
|
`/sync`. This is an array listing the key algorithms for which the server has
|
||||||
fallback key for the user. If the client wants the server to have a fallback
|
an unused fallback key for the user. If the client wants the server to have a
|
||||||
key for a given key algorithm, but that algorithm is not listed in
|
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.
|
`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
|
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
|
that the server supports fallback keys, and so only upload fallback keys to
|
||||||
servers that support them.
|
servers that support them.
|
||||||
|
|
@ -68,7 +68,7 @@ Response:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
// other fields...
|
// other fields...
|
||||||
"device_unused_fallback_keys": ["signed_curve25519"]
|
"device_unused_fallback_key_types": ["signed_curve25519"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -93,5 +93,5 @@ to detect replays.
|
||||||
|
|
||||||
## Unstable prefix
|
## 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.`.
|
response parameter will be prefixed by `org.matrix.msc2732.`.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue