force folder-reconfigure on dc_configure()

This commit is contained in:
B. Petersen
2020-03-24 19:37:41 +01:00
parent f28f177c6b
commit 36e7090466
2 changed files with 5 additions and 1 deletions

View File

@@ -1078,6 +1078,10 @@ impl Imap {
return Ok(());
}
self.configure_folders(context, create_mvbox)
}
pub fn configure_folders(&self, context: &Context, create_mvbox: bool) -> Result<()> {
task::block_on(async move {
if !self.is_connected().await {
return Err(Error::NoConnection);