do not disconnect sentbox and mvbox, they would be connected at once as no longer suspended

This commit is contained in:
B. Petersen
2019-11-27 14:53:27 +01:00
parent 0794da299c
commit 5cfa9cae7b

View File

@@ -69,18 +69,6 @@ pub fn dc_job_do_DC_JOB_CONFIGURE_IMAP(context: &Context) {
.unwrap()
.imap
.disconnect(context);
context
.sentbox_thread
.read()
.unwrap()
.imap
.disconnect(context);
context
.mvbox_thread
.read()
.unwrap()
.imap
.disconnect(context);
context.smtp.clone().lock().unwrap().disconnect();
info!(context, "Configure ...",);