Module spaces

Source
Expand description

High level interfaces for working with Spaces

The SpaceService is an UI oriented, high-level interface for working with Matrix Spaces. It provides methods to retrieve joined spaces, subscribe to updates, and navigate space hierarchies.

It consists of 3 main components:

  • SpaceService: The main service for managing spaces. It
  • SpaceGraph: An utility that maps the m.space.parent and m.space.child fields into a graph structure, removing cycles and providing access to top level parents.
  • SpaceRoomList: A component for retrieving a space’s children rooms and their details.

Re-exports§

pub use crate::spaces::room::SpaceRoom;
pub use crate::spaces::room_list::SpaceRoomList;

Modules§

graph
room
room_list

Structs§

SpaceService
The main entry point into the Spaces facilities.