From 185033c462b92854117bc57258bf33b3579a7ca5 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 18 Jan 2024 17:33:57 +0100 Subject: idling works!!! --- src/imap/command/selected.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imap/command') diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs index 4eb4e61..ca2e268 100644 --- a/src/imap/command/selected.rs +++ b/src/imap/command/selected.rs @@ -83,7 +83,7 @@ pub async fn dispatch<'a>( CommandBody::Idle => { Ok(( Response::build().to_req(ctx.req).message("DUMMY command due to anti-pattern in the code").ok()?, - flow::Transition::Idle(tokio::sync::Notify::new()), + flow::Transition::Idle(ctx.req.tag.clone(), tokio::sync::Notify::new()), )) } -- cgit v1.2.3