Skip to main content

add_backup_keys_for_session_handler

Function add_backup_keys_for_session_handler 

Source
async fn add_backup_keys_for_session_handler(
    state: State<ServerState>,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, RoomKeysError>
Expand description

Handler for PUT /_matrix/client/v3/room_keys/keys/{roomId}/{sessionId} (See https://spec.matrix.org/v1.18/client-server-api/#put_matrixclientv3room_keyskeysroomidsessionid).

Store a key in a backup.