-
-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Labels
clarificationAn area where the expected behaviour is understood, but the spec could do with being more explicitAn area where the expected behaviour is understood, but the spec could do with being more explicit
Description
Link to problem area: https://spec.matrix.org/v1.3/rooms/v1/#mroompower_levels-events-accept-values-as-strings
Issue
The spec currently doesn't put a limit on the range of integers allowed in string power levels. If this is taken to mean that there is no limit (which is what Synapse implemented, accidentally), this makes it rather complicated to support room versions 1 through 9 in homeservers other than Synapse. As of right now, Dendrite will reject events containing string power levels that exceed the limit of signed 64 bit integers, while Ruma will reject events containing string power levels that exceed the usual MIN_SAFE_INTEGER / MAX_SAFE_INTEGER limits exposed on non-stringified numbers in canonical JSON.
Metadata
Metadata
Assignees
Labels
clarificationAn area where the expected behaviour is understood, but the spec could do with being more explicitAn area where the expected behaviour is understood, but the spec could do with being more explicit