Conflicting use of PublicRoomsChunk for space hierarchy over federation #1729
Labels
clarification
An area where the expected behaviour is understood, but the spec could do with being more explicit
Link to problem area:
https://spec.matrix.org/v1.9/server-server-api/#get_matrixfederationv1hierarchyroomid
Issue
There are two different types with the name
PublicRoomsChunk
, with the only difference being that the latter has achildren_state
field which the other doesn't. In ruma, it is assumed that the former is for thechildren
field, and the latter is for theroom
field. However, in the example request in the spec, both thechildren
androom
fields use thechildren_state
field, so it is unclear whether the example is correct and they should both have thechildren_field
, ruma is correct and only theroom
field should have that, or even maybe thechildren
field should have that and theroom
field shouldn't.Either way, they really should either be merged (for the former solution), or have different names (for the others).
The text was updated successfully, but these errors were encountered: