mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 23:16:30 +03:00
it compiles with async-imap, remove local dependency
This commit is contained in:
committed by
holger krekel
parent
4b8252e001
commit
1687e8d26f
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user