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. ItSpaceGraph
: An utility that maps them.space.parent
andm.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§
Structs§
- Space
Service - The main entry point into the Spaces facilities.