mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 14:04:10 +01:00
Describe deprecated formatting
This commit is contained in:
parent
16e7383ddb
commit
3d500196e8
|
|
@ -41,10 +41,24 @@ be integers and not string representations, unlike other room versions.
|
||||||
|
|
||||||
Room version 10 is based upon room version 9 with the following considerations.
|
Room version 10 is based upon room version 9 with the following considerations.
|
||||||
|
|
||||||
### TODO
|
### Event format
|
||||||
|
|
||||||
* Auth rules
|
The event format is unchanged by this room version. See [below](#event-format-1)
|
||||||
* Stringy power levels
|
for details on the current event format.
|
||||||
|
|
||||||
|
#### Deprecated formatting
|
||||||
|
|
||||||
|
While this room version does not change the event format specifically, some
|
||||||
|
deprecated behaviours are strictly no longer supported.
|
||||||
|
|
||||||
|
##### Power levels must be integers
|
||||||
|
|
||||||
|
In other room versions, such as [v9](/rooms/v9/#power-levels-accepted-as-strings),
|
||||||
|
power levels could be represented as strings for backwards compatibility.
|
||||||
|
|
||||||
|
This backwards compatibility is removed in this room version - power levels MUST NOT
|
||||||
|
be represented as strings within this room version. Power levels which are not
|
||||||
|
correctly structured are rejected under the authorization rules below.
|
||||||
|
|
||||||
## Unchanged from v9
|
## Unchanged from v9
|
||||||
|
|
||||||
|
|
@ -67,12 +81,6 @@ completeness.
|
||||||
|
|
||||||
{{% rver-fragment name="v4-event-format" %}}
|
{{% rver-fragment name="v4-event-format" %}}
|
||||||
|
|
||||||
#### Deprecated formatting
|
|
||||||
|
|
||||||
{{% rver-fragment name="v1-deprecated-formatting-off-spec" %}}
|
|
||||||
|
|
||||||
{{% rver-fragment name="v1-stringy-power-levels" %}}
|
|
||||||
|
|
||||||
### Authorization rules
|
### Authorization rules
|
||||||
|
|
||||||
{{% rver-fragment name="v8-auth-rules" %}}
|
{{% rver-fragment name="v8-auth-rules" %}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue