conf/accounts.rs: always load Inbox

pull/234/head
Manos Pitsidianakis 4 years ago
parent ed3b2fa6c8
commit 688060ceb6
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -534,7 +534,9 @@ impl Account {
continue;
}
mailbox_entries.entry(*h).and_modify(|entry| {
if entry.conf.mailbox_conf.autoload {
if entry.conf.mailbox_conf.autoload
|| entry.ref_mailbox.special_usage() == SpecialUsageMailbox::Inbox
{
entry.status = MailboxStatus::Parsing(0, 0);
if self.is_async {
if let Ok(mailbox_job) = self.backend.write().unwrap().fetch_async(*h) {

Loading…
Cancel
Save