Skip to main content

on_first_contact

Function on_first_contact 

Source
pub(super) async fn on_first_contact(
    state: &AppState,
    claimed: &str,
    observed_key: &[u8],
) -> bool
Expand description

A name has no pin and shows observed_key: pin it only if a trusted install vouches for it. true means carry on verifying under the (new) pin. false leaves the name unpinned and the message unproven, and keeps the key for the pin screen, which asks the person once to accept it.