it compiles with async-imap

This commit is contained in:
dignifiedquire
2019-11-09 16:29:05 +01:00
parent d330d890c0
commit b948e973c5
6 changed files with 1361 additions and 802 deletions

View File

@@ -107,7 +107,7 @@ impl JobThread {
}
fn connect_to_imap(&self, context: &Context) -> bool {
if self.imap.is_connected() {
if async_std::task::block_on(async move { self.imap.is_connected().await }) {
return true;
}