Fix sent_folder not getting recorded if no explicit folder conf is set

async
Manos Pitsidianakis 2020-02-12 18:56:05 +02:00
parent b6efb14824
commit d779a94279
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 3 additions and 0 deletions

View File

@ -307,6 +307,9 @@ impl Account {
}
tmp
};
if new.folder_conf.usage == Some(SpecialUsageMailbox::Sent) {
sent_folder = Some(f.hash());
}
folder_entries.insert(
f.hash(),