Skip to main content

get_dehydrated_device_route

Function get_dehydrated_device_route 

Source
pub(crate) async fn get_dehydrated_device_route(
    __arg0: State<State>,
    __arg1: ClientIp,
    body: Ruma<Request>,
) -> Result<Response>
Expand description

§GET /_matrix/client/../dehydrated_device

Returns the user’s dehydrated device.

The device data is opaque to the server and comes back as the client stored it. A user without one gets M_NOT_FOUND.