Skip to main content

apply_request

Function apply_request 

Source
pub(super) fn apply_request(
    user_rooms: &HashMap<OwnedRoomId, RoomInfo>,
    req_lists: &BTreeMap<String, List>,
    req_subscriptions: &BTreeMap<OwnedRoomId, RoomSubscription>,
) -> Result<FilteredRooms, SyncV4Error>
Expand description

Applies a request’s lists and subscription to the list of rooms the user is or has been in.