Function matrix_sdk_ui::room_list_service::filters::new_filter_category

source ยท
pub fn new_filter_category(
    client: &Client,
    expected_category: RoomCategory
) -> impl Filter
Expand description

Create a new filter that will accept all filled or invalidated entries, and if the associated rooms fit in the expected_category. The category is defined by RoomCategory, see this type to learn more.