Skip to main content

claim_handle

Function claim_handle 

Source
pub async fn claim_handle<Context>(
    context: &Context,
    handle: &Handle,
) -> Result<(), IdentityUpdateError>
where Context: IdentityContext,
Expand description

Claim handle for this client’s inbox, signed by this installation’s key. A claim of a handle the inbox already holds makes it the display handle again. The backend refuses a taken, reserved, short, or too frequent claim with ApiError::HandleRejected. After the publish, the client has stored the inbox’s new identity update.