aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/selected.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-18 17:33:57 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-18 17:33:57 +0100
commit185033c462b92854117bc57258bf33b3579a7ca5 (patch)
tree172ce596ddbae14950a49bd1893b8cd032e28783 /src/imap/command/selected.rs
parente1161cab0e71ec604e376d2d87f7d1226f3f0244 (diff)
downloadaerogramme-185033c462b92854117bc57258bf33b3579a7ca5.tar.gz
aerogramme-185033c462b92854117bc57258bf33b3579a7ca5.zip
idling works!!!
Diffstat (limited to 'src/imap/command/selected.rs')
-rw-r--r--src/imap/command/selected.rs2
1 files changed, 1 insertions, 1 deletions
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()),
))
}