aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/authenticated.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-17 08:22:15 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-17 08:22:15 +0100
commit3d23f0c936516ed89f2888fb44babb3994e8d579 (patch)
tree79315188155cfe91d5cc5c98b3c6ead17d8f2e15 /src/imap/command/authenticated.rs
parent55e26d24a08519ded6a6898453dcd6db287f45c8 (diff)
downloadaerogramme-3d23f0c936516ed89f2888fb44babb3994e8d579.tar.gz
aerogramme-3d23f0c936516ed89f2888fb44babb3994e8d579.zip
WIP refactor idle
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r--src/imap/command/authenticated.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs
index 9b6bb24..e17699a 100644
--- a/src/imap/command/authenticated.rs
+++ b/src/imap/command/authenticated.rs
@@ -453,7 +453,7 @@ impl<'a> AuthenticatedContext<'a> {
.code(Code::ReadWrite)
.set_body(data)
.ok()?,
- flow::Transition::Select(mb),
+ flow::Transition::Select(mb, flow::MailboxPerm::ReadWrite),
))
}
@@ -491,7 +491,7 @@ impl<'a> AuthenticatedContext<'a> {
.code(Code::ReadOnly)
.set_body(data)
.ok()?,
- flow::Transition::Examine(mb),
+ flow::Transition::Select(mb, flow::MailboxPerm::ReadOnly),
))
}