mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 21:14:09 +01:00
Allow m.fully_read on /receipts
This commit is contained in:
parent
b5ba983a93
commit
42791a7f0a
1
changelogs/client_server/newsfragments/1216.feature.3
Normal file
1
changelogs/client_server/newsfragments/1216.feature.3
Normal file
|
|
@ -0,0 +1 @@
|
|||
Allow `m.fully_read` markers to be set from `/receipts`, as per [MSC2285](https://github.com/matrix-org/matrix-spec-proposals/pull/2285).
|
||||
|
|
@ -47,13 +47,19 @@ paths:
|
|||
- in: path
|
||||
type: string
|
||||
name: receiptType
|
||||
description: The type of receipt to send.
|
||||
description: |-
|
||||
The type of receipt to send. This can also be `m.fully_read` as an
|
||||
alternative to [`/read_makers`](/client-server-api/#post_matrixclientv3roomsroomidread_markers).
|
||||
|
||||
Note that `m.fully_read` does not appear under `m.receipt`: this endpoint
|
||||
effectively calls `/read_markers` internally when presented with a receipt
|
||||
type of `m.fully_read`.
|
||||
required: true
|
||||
x-example: "m.read"
|
||||
x-changedInMatrixVersion:
|
||||
1.4: |
|
||||
Allow `m.read.private` receipts.
|
||||
enum: ["m.read", "m.read.private"]
|
||||
Allow `m.read.private` receipts and `m.fully_read` markers to be set.
|
||||
enum: ["m.read", "m.read.private", "m.fully_read"]
|
||||
- in: path
|
||||
type: string
|
||||
name: eventId
|
||||
|
|
|
|||
Loading…
Reference in a new issue