Skip to main content

upload_keys_route

Function upload_keys_route 

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

ยงPOST /_matrix/client/r0/keys/upload

Publish end-to-end encryption keys for the sender device.

  • Adds one time keys
  • If there are no device keys yet: Adds device keys (TODO: merge with existing keys?)