Merge pull request #1341 from matrix-org/dbkr/add_read_receipt_example

Add example read receipt to sync example
This commit is contained in:
David Baker 2022-11-15 20:47:18 +00:00 committed by GitHub
commit 678f8b96f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1 @@
Add example read receipt to `GET /_matrix/client/v3/sync` response example.

View file

@ -444,7 +444,8 @@ paths:
}, },
"ephemeral": { "ephemeral": {
"events": [ "events": [
{"$ref": "../../event-schemas/examples/m.typing.yaml"} {"$ref": "../../event-schemas/examples/m.typing.yaml"},
{"$ref": "../../event-schemas/examples/m.receipt.yaml"}
] ]
}, },
"account_data": { "account_data": {