Skip to main content

matches_search

Function matches_search 

Source
fn matches_search(room: &RoomDetails, search_term: Option<&str>) -> bool
Expand description

Matches a room against the search term: the name and canonical alias by case-insensitive substring, but the room id by exact equality.