aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/authenticated.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-28 15:38:06 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-28 15:38:06 +0200
commit06b888d9696cf7270c6daff4d5ae8a0591e265fe (patch)
treeb56daa5d76290a1d00ccf16c4a1b6caf0fe99c8f /src/imap/command/authenticated.rs
parent36bbc2138bceb0c80a306f8c225e340d6fbd5470 (diff)
downloadaerogramme-06b888d9696cf7270c6daff4d5ae8a0591e265fe.tar.gz
aerogramme-06b888d9696cf7270c6daff4d5ae8a0591e265fe.zip
Implement logout
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r--src/imap/command/authenticated.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs
index 4ba4968..f22fcc4 100644
--- a/src/imap/command/authenticated.rs
+++ b/src/imap/command/authenticated.rs
@@ -144,7 +144,9 @@ impl<'a> StateContext<'a> {
res.push(Body::Status(permanent_flags));
Ok((
- Response::ok("Select completed")?.with_body(res),
+ Response::ok("Select completed")?
+ .with_extra_code(Code::ReadWrite)
+ .with_body(res),
flow::Transition::Select(mb),
))
}