Skip to main content

search_users_route

Function search_users_route 

Source
pub(crate) async fn search_users_route(
    __arg0: State<State>,
    body: Args<Request>,
) -> Result<Response>
Expand description

§POST /_matrix/client/r0/user_directory/search

Searches all known users for a match.

  • Hides any local users that aren’t in any public rooms (i.e. those that have the join rule set to public) and don’t share a room with the sender