Compare commits

..

1 commit

Author SHA1 Message Date
Johannes Marbach f0de9803d9
Merge 743a035335 into e283c35dbd 2025-03-14 10:09:31 +01:00
3 changed files with 5 additions and 10 deletions

View file

@ -6,11 +6,11 @@
"m.topic": {
"m.text": [ {
"mimetype": "text/html",
"body": "An <em>interesting</em> room topic"
"body": "An <em>html</em> topic"
}, {
"body": "An interesting room topic"
"body": "A plain text topic"
}]
},
"topic": "An interesting room topic"
"topic": "A plain text topic"
}
}

View file

@ -2,12 +2,7 @@
allOf:
- $ref: core-event-schema/state_event.yaml
description: |-
A topic is a short message detailing what is currently being discussed
in the room. It can also be used as a way to display extra information
about the room, which may not be suitable for the room name. The room
topic can be set when creating a room using
[`/createRoom`](client-server-api/#post_matrixclientv3createroom), either
with the `topic` key or by specifying a full event in `initial_state`.
A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name. The room topic can also be set when creating a room using `/createRoom` with the `topic` key.
In order to prevent formatting abuse in room topics, clients SHOULD
limit the length of topics during both entry and display, for instance,