Add Spaces to the spec (#3610)
* First iteration of specifying Spaces MSCs: * https://github.com/matrix-org/matrix-doc/pull/3288 * https://github.com/matrix-org/matrix-doc/pull/2946 * https://github.com/matrix-org/matrix-doc/pull/1772 Note that this makes modifications to the underlying MSCs as well. These are intended to be minor edits to aid clarity/accuracy of the MSCs, as per the proposal process. Functionally, clients and servers might need to change their behaviour slightly as is expected of implementing this stuff early. Synapse has these changes (alongside backwards compatibility) here: https://github.com/matrix-org/synapse/pull/11667 * add changelogs * Accuracy per review * Apply suggestions from code review Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * fully prefix new endpoints * Fully prefix endpoint in 3616 too * Fix ordering example Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
21882b6006
commit
9af83dfd41
21 changed files with 924 additions and 138 deletions
|
@ -1854,6 +1854,27 @@ the topic to be removed from the room.
|
|||
|
||||
## Rooms
|
||||
|
||||
### Types
|
||||
|
||||
{{% added-in v="1.2" %}}
|
||||
|
||||
Optionally, rooms can have types to denote their intended function. A room
|
||||
without a type does not necessarily mean it has a specific default function,
|
||||
though commonly these rooms will be for conversational purposes.
|
||||
|
||||
Room types are best applied when a client might need to differentiate between
|
||||
two different rooms, such as conversation-holding and data-holding. If a room
|
||||
has a type, it is specified in the `type` key of an [`m.room.create`](#mroomcreate)
|
||||
event. To specify a room's type, provide it as part of `creation_content` on
|
||||
the create room request.
|
||||
|
||||
In this specification the following room types are specified:
|
||||
|
||||
* [`m.space`](#spaces)
|
||||
|
||||
Unspecified room types are permitted through the use of
|
||||
[Namespaced Identifiers](/appendices/#common-namespaced-identifier-grammar).
|
||||
|
||||
### Creation
|
||||
|
||||
The homeserver will create an `m.room.create` event when a room is
|
||||
|
@ -2190,6 +2211,7 @@ that profile.
|
|||
| [Server ACLs](#server-access-control-lists-acls-for-rooms) | Optional | Optional | Optional | Optional | Optional |
|
||||
| [Server Notices](#server-notices) | Optional | Optional | Optional | Optional | Optional |
|
||||
| [Moderation policies](#moderation-policy-lists) | Optional | Optional | Optional | Optional | Optional |
|
||||
| [Spaces](#spaces) | Optional | Optional | Optional | Optional | Optional |
|
||||
|
||||
*Please see each module for more details on what clients need to
|
||||
implement.*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue