aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/selected.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/imap/command/selected.rs')
-rw-r--r--src/imap/command/selected.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs
index c9c5337..b62e2cb 100644
--- a/src/imap/command/selected.rs
+++ b/src/imap/command/selected.rs
@@ -81,7 +81,10 @@ pub async fn dispatch<'a>(
// IDLE extension (rfc2177)
CommandBody::Idle => {
- unimplemented!()
+ Ok((
+ Response::build().to_req(ctx.req).message("DUMMY response due to anti-pattern").ok()?,
+ flow::Transition::Idle(tokio::sync::Notify::new()),
+ ))
}
// In selected mode, we fallback to authenticated when needed