Skip to content

Commit

Permalink
Clarify the power levels integer range (#1169)
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Becker <[email protected]>
  • Loading branch information
johannescpk authored Nov 22, 2022
1 parent 24b95cb commit b2c4abf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1169.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify the power levels integer range.
3 changes: 3 additions & 0 deletions data/event-schemas/schema/m.room.power_levels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ description: |-
`m.room.power_levels` event as soon as it is created. See also the
documentation of the `/createRoom` API.
Note: the allowed range for power level values is `[-(2**53)+1, (2**53)-1]`,
as required by the [Canonical JSON specification](/appendices/#canonical-json).
properties:
content:
properties:
Expand Down

0 comments on commit b2c4abf

Please sign in to comment.