Skip to main content

get_presence_route

Function get_presence_route 

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

Gets the presence state of the given user.

Access requires the user’s own identity or a shared room. Missing state defaults to offline for self or a known local user after authorization.