mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-04 13:23:43 +01:00
Add context and example
This commit is contained in:
parent
7b4c8a9f68
commit
83b9497664
|
|
@ -756,7 +756,8 @@ options which can be set when creating a room:
|
|||
Optional:
|
||||
Yes
|
||||
Value:
|
||||
Extra keys to be added to the content of the ``m.room.create``
|
||||
Extra keys to be added to the content of the ``m.room.create``. The server
|
||||
will clober certain keys, e.g. ``creator``.
|
||||
Description:
|
||||
Allows clients to add keys to the content of ``m.room.create``.
|
||||
|
||||
|
|
@ -766,7 +767,10 @@ Example::
|
|||
"visibility": "public",
|
||||
"room_alias_name": "thepub",
|
||||
"name": "The Grand Duke Pub",
|
||||
"topic": "All about happy hour"
|
||||
"topic": "All about happy hour",
|
||||
"creation_content": {
|
||||
"m.federate": false
|
||||
}
|
||||
}
|
||||
|
||||
The home server will create a ``m.room.create`` event when the room is created,
|
||||
|
|
|
|||
Loading…
Reference in a new issue