Compare commits

..

No commits in common. "9f2661c82a487fe338f6304e2ea9e3ea7cdf4ea2" and "cc2623f8da1624116eda95637b350f8227bd1059" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,7 @@ When the value is a float
* Second, the value is truncated at the decimal point: `51146.98` becomes `51146`.
Values outside the range represented by IEE754 binary64 (a "double") cause the
powerlevel event to be rejected, as do `Infinity`, `-Infinity` and `NaN`.
powerlevel event to be rejected.
For example, this is a valid `m.room.power_levels` event in this room version:

View file

@ -42,8 +42,7 @@ in [room version 5](/rooms/v5).
### Event format
{{% added-in v=6 %}} Through enforcement of [Canonical JSON](#canonical-json),
the `depth` limit has been reduced in this room version, and numeric values may
no longer be formatted as floats.
the `depth` limit has been reduced in this room version.
{{% rver-fragment name="v6-event-format" %}}