File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,17 @@ properties:
5757 sender.
5858 code:
5959 type: string
60+ enum:
61+ - m.blacklisted
62+ - m.unverified
63+ - m.unauthorised
64+ - m.unavailable
65+ - m.no_olm
6066 description: |-
61- A machine-readable code for why the key was not sent.
67+ A machine-readable code for why the key was not sent. Codes beginning
68+ with `m.` are reserved for codes defined in the Matrix
69+ specification. Custom codes must use the Java package naming
70+ convention.
6271 reason:
6372 type: string
6473 description: |-
Original file line number Diff line number Diff line change @@ -1341,10 +1341,11 @@ Example response:
13411341 Reporting that decryption keys are withheld
13421342-------------------------------------------
13431343
1344- When sending an encrypted event to a room, a client can signal to other devices
1345- in that room that it is not sending them the keys needed to decrypt the event.
1346- In this way, the receiving client can indicate to the user why it cannot
1347- decrypt the event, rather than just showing a generic error message.
1344+ When sending an encrypted event to a room, a client can optionally signal to
1345+ other devices in that room that it is not sending them the keys needed to
1346+ decrypt the event. In this way, the receiving client can indicate to the user
1347+ why it cannot decrypt the event, rather than just showing a generic error
1348+ message.
13481349
13491350In the same way, when one device requests keys from another using `Key
13501351requests `_, the device from which the key is being requested may want to tell
You can’t perform that action at this time.
0 commit comments