Skip to main content

add_backup_keys_for_room_handler

Function add_backup_keys_for_room_handler 

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

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

Store several keys in a backup for a given room.