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
unless
show_all_local_users_in_user_directoryis enabled - Hides appservice senders and users in exclusive appservice user namespaces
unless
show_appservice_users_in_user_directoryis enabled