Function olm_sys::olm_remove_one_time_keys[][src]

pub unsafe extern "C" fn olm_remove_one_time_keys(
    account: *mut OlmAccount,
    session: *mut OlmSession
) -> usize

Removes the one time keys that the session used from the account. Returns olm_error() on failure. If the account doesn’t have any matching one time keys then olm_account_last_error() will be “BAD_MESSAGE_KEY_ID”.