use reason for human-readable cancel reason

for consistency with non-DM version
This commit is contained in:
Hubert Chathi 2020-12-14 11:33:33 -05:00
parent 4a779784ef
commit affa240543

View file

@ -132,7 +132,7 @@ contents:
- `m.relates_to`: an object with the properties: - `m.relates_to`: an object with the properties:
- `rel_type`: `m.reference` - `rel_type`: `m.reference`
- `event_id`: the event ID of the key verification that is being cancelled - `event_id`: the event ID of the key verification that is being cancelled
- `body`: A human readable description of the `code`. The client should only - `reason`: A human readable description of the `code`. The client should only
rely on this string if it does not understand the `code`. rely on this string if it does not understand the `code`.
- `code`: The error code for why the process/request was cancelled by the - `code`: The error code for why the process/request was cancelled by the
user. The contents are the same as the `code` property of the currently user. The contents are the same as the `code` property of the currently