mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-10 13:34:09 +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:
|
Optional:
|
||||||
Yes
|
Yes
|
||||||
Value:
|
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:
|
Description:
|
||||||
Allows clients to add keys to the content of ``m.room.create``.
|
Allows clients to add keys to the content of ``m.room.create``.
|
||||||
|
|
||||||
|
|
@ -766,7 +767,10 @@ Example::
|
||||||
"visibility": "public",
|
"visibility": "public",
|
||||||
"room_alias_name": "thepub",
|
"room_alias_name": "thepub",
|
||||||
"name": "The Grand Duke Pub",
|
"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,
|
The home server will create a ``m.room.create`` event when the room is created,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue