Skip to main content

whoami_route

Function whoami_route 

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

ยงGET _matrix/client/r0/account/whoami

Get user_id of the sender user.

Note: Also works for Application Services