Skip to main content

remove

Function remove 

Source
pub(crate) fn remove(
    qt: &CxxQtThread<Sioul>,
    shared: &Arc<Shared>,
    account: Account,
    delete_mail: bool,
    watcher: Option<Arc<Control>>,
)
Expand description

A Microsoft account removed, off the window’s thread (the keyring, and a mail folder that may be large): its access forgotten here (Microsoft offers no way to give it back), the account out of the configuration, and, when you said so, the mail this device keeps for it (its folder, the AI’s answers, the spam filter’s corpus), once its watcher (watcher, stopped) has ended, so that no fetch writes there again; no watcher starts for it meanwhile (Shared::removing). The status line says it when done, with Microsoft’s page where you withdraw the consent.