diff options
Diffstat (limited to 'src/imap/session.rs')
-rw-r--r-- | src/imap/session.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imap/session.rs b/src/imap/session.rs index e270ec6..a500e2b 100644 --- a/src/imap/session.rs +++ b/src/imap/session.rs @@ -126,7 +126,7 @@ impl Instance { let ctrl = match &self.state { flow::State::NotAuthenticated => anonymous::dispatch(ctx).await, flow::State::Authenticated(user) => authenticated::dispatch(ctx, user).await, - /*flow::State::Selected(user, mailbox) => selected::dispatch(ctx, user, mailbox).await,*/ + flow::State::Selected(user, mailbox) => selected::dispatch(ctx, user, mailbox).await, _ => Status::bad(Some(ctx.req.tag.clone()), None, "No commands are allowed in the LOGOUT state.") .map(|s| (vec![ImapRes::Status(s)], flow::Transition::No)) .map_err(Error::msg), |