Skip to main content

put_dehydrated_device_route

Function put_dehydrated_device_route 

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

§PUT /_matrix/client/../dehydrated_device

Creates or overwrites the user’s dehydrated device.

Any existing dehydrated device is removed first, then the new one is created with the keys the request uploads.