Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Stabilize support for MSC2946: spaces summary #10946

Closed
@clokep

Description

@clokep

Once MSC2946 lands we should (at some point) switch to a stable endpoint and make some updates. There's few bits to this that we need to do:

Phase 1

  • Support to the stable endpoint.
  • Require limit to be > 0. (This has always been correct.)
  • Ensure the endpoint is ratelimited.

Phase 2

  • Remove the fallback logic of get_room_hierarchy to request the /spaces endpoint over federation.
  • Remove the /spaces client and federation endpoints (and corresponding code in the handlers).
  • Update the API responses to remove allowed_spaces (this was replaced with allowed_room_ids).
  • Clean-up code around max-children, which is not used by the /hierarchy endpoint.
  • Remove room_id from the serialized children_state, it is redundant and removed from the API response.

Phase 3

  • Remove unstable /hierarchy client and federation endpoints.
  • Remove the typo join_rules field from the response.

Metadata

Metadata

Assignees

Labels

A-SpacesHierarchical organization of roomsT-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions