deltachat::qr

Function set_account_from_qr

Source
pub(crate) async fn set_account_from_qr(
    context: &Context,
    qr: &str,
) -> Result<()>
Expand description

take a qr of the type DC_QR_ACCOUNT, parse it’s parameters, download additional information from the contained url and set the parameters. on success, a configure::configure() should be able to log in to the account