Function parse_gossip_headers

Source
async fn parse_gossip_headers(
    context: &Context,
    from: &str,
    recipients: &[SingleInfo],
    gossip_headers: Vec<String>,
) -> Result<HashMap<String, SignedPublicKey>>
Expand description

Parses Autocrypt-Gossip headers from the email, saves the keys into the public_keys table, and returns them in a HashMap<address, public key>.

  • from: The address which sent the message currently being parsed