Skip to main content

Module rooms

Module rooms 

Source
Expand description

Contains logic to fetch rooms data for a sync v4 response.

Functionsยง

compute_joined_rooms ๐Ÿ”’
Given the timelines of rooms the user is or has been a member of, contextualize each event, and fetch the various other fields needed to compute a [sync_events::v5::response::Room].
compute_never_joined_rooms ๐Ÿ”’
Fetches all the data for the rooms the user never joined.
fetch_rooms ๐Ÿ”’
Fetches all the rooms data.