-
-
Notifications
You must be signed in to change notification settings - Fork 122
Describe behaviour when the topic key is falsey in a m.room.topic event.
#2068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Clarify behaviour when the `topic` key of a `m.room.topic` event is absent, null, or empty. |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -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. | ||||||||||
|
||||||||||
| field, it should be treated the same as a room with no `m.room.topic` event. | |
| property, it should be treated the same as a room with no `m.room.topic` event. | |
| In other words, sending an `m.room.topic` event with an empty `topic` effectively | |
| resets the room to having no topic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better?
Uh oh!
There was an error while loading. Please reload this page.