Skip to main content

Module apply_state

Module apply_state 

Source
Expand description

Contains logic to apply the per-connection state to an already filtered list of rooms (see MatchedRoom).

Structs§

AppliedState 🔒
Result produced by apply_state

Enums§

RoomToSync
A room to sync, produced by apply_state.

Functions§

apply_state 🔒
Apply the current connection’s state (i.e. rooms streams and previously used configs) to the rooms matched by the request.
mark_rooms_to_sync 🔒
Computes the list of rooms to sync by applying the rooms states to the rooms matched by the request.
mark_stale_rooms 🔒
Update and get the list of stale rooms.