mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
implement imap idle
This commit is contained in:
@@ -67,9 +67,7 @@ fn main() {
|
||||
let t1 = thread::spawn(move || loop {
|
||||
dc_perform_imap_jobs(&ctx1);
|
||||
dc_perform_imap_fetch(&ctx1);
|
||||
thread::sleep(duration);
|
||||
|
||||
// dc_perform_imap_idle(&ctx1);
|
||||
dc_perform_imap_idle(&ctx1);
|
||||
});
|
||||
|
||||
let ctx1 = ctx.clone();
|
||||
|
||||
Reference in New Issue
Block a user