Skip to main content

replace_emails

Function replace_emails 

Source
async fn replace_emails(
    services: State,
    user_id: &UserId,
    threepids: &[ThirdPartyIdentifier],
) -> Result
Expand description

Replaces the user’s email bindings with exactly the email threepids in threepids, canonicalizing each. Non-email media are ignored (no store).