Re-word keys/claim to clarify that sometimes keys are not available

This commit is contained in:
Andy Balaam 2024-12-12 11:32:50 +00:00
parent 4d1d75c69a
commit 10df90711a
2 changed files with 6 additions and 4 deletions

View file

@ -292,8 +292,9 @@ paths:
Claims one-time keys for use in pre-key messages.
The request contains the user ID, device ID and algorithm name of the
keys that are required. The response contains a key matching this -
either a one-time key, or if none are available, a fallback key.
keys that are required. If a key matching these requirements can be
found, the response contains it. The returned key is a one-time key
if one is available, and otherwise a fallback key.
One-time keys are given out in the order that they were uploaded via
[/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All

View file

@ -24,8 +24,9 @@ paths:
Claims one-time keys for use in pre-key messages.
The request contains the user ID, device ID and algorithm name of the
keys that are required. The response contains a key matching this -
either a one-time key, or if none are available, a fallback key.
keys that are required. If a key matching these requirements can be
found, the response contains it. The returned key is a one-time key
if one is available, and otherwise a fallback key.
One-time keys are given out in the order that they were uploaded via
[/keys/upload](/client-server-api/#post_matrixclientv3keysupload). (All