mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-29 13:54:10 +02:00
Fix example of m.mentions
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
199aa15b4d
commit
5e8e9434e5
|
|
@ -18,14 +18,8 @@ description: |-
|
||||||
Describes whether the event mentions other users or the room. This is contained
|
Describes whether the event mentions other users or the room. This is contained
|
||||||
within the event's `content` alongside other fields for the relevant event type.
|
within the event's `content` alongside other fields for the relevant event type.
|
||||||
example: {
|
example: {
|
||||||
"body": "Hello Alice!",
|
|
||||||
"msgtype": "m.text",
|
|
||||||
"format": "org.matrix.custom.html",
|
|
||||||
"formatted_body": "Hello <a href='https://matrix.to/#/@alice:example.org'>Alice</a>!",
|
|
||||||
"m.mentions": {
|
|
||||||
"user_ids": ["@alice:example.org"]
|
"user_ids": ["@alice:example.org"]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
properties:
|
properties:
|
||||||
user_ids:
|
user_ids:
|
||||||
type: array
|
type: array
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue