Compare commits

...

3 commits

Author SHA1 Message Date
Will Hunt ea8c6f4850
Merge 695a97728d into 817ec5380f 2025-03-28 14:09:57 +00:00
Will Hunt 695a97728d
Create 2068.clarification 2025-01-31 11:23:26 +00:00
Will Hunt 97dfa16844
Describe behaviour when the topic key is falsey in a m.room.topic event.
We seem to have [updated this for m.room.name](https://github.com/matrix-org/matrix-spec/pull/1639) some years back but omitted it for topic.
2025-01-31 11:21:05 +00:00
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1 @@
Clarify behaviour when the `topic` key of a `m.room.topic` event is absent, null, or empty.

View file

@ -1,7 +1,14 @@
---
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 also be set when creating a room using `/createRoom` with the `topic` key.'
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 also be set when creating a room using `/createRoom` with the `topic` key.'
If a room has an `m.room.topic` event with an absent, null, or empty `topic`
field, it should be treated the same as a room with no `m.room.topic` event.
properties:
content:
properties: