diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-29 13:41:05 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-29 13:41:05 +0200 |
commit | 8b7eb1ca918d26901b0739526341128067ca1cbc (patch) | |
tree | 9bd9d8d4248f43a4f9dfaff7e5b83296f771463d /src/imap/command/authenticated.rs | |
parent | 1bc109df72a3d785211a128b3f28746232258924 (diff) | |
download | aerogramme-8b7eb1ca918d26901b0739526341128067ca1cbc.tar.gz aerogramme-8b7eb1ca918d26901b0739526341128067ca1cbc.zip |
work on prototypes
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r-- | src/imap/command/authenticated.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs index b79865f..47df5be 100644 --- a/src/imap/command/authenticated.rs +++ b/src/imap/command/authenticated.rs @@ -96,7 +96,7 @@ impl<'a> AuthenticatedContext<'a> { async fn select(self, mailbox: &MailboxCodec) -> Result<(Response, flow::Transition)> { let name = String::try_from(mailbox.clone())?; - let mut mb = self.user.open_mailbox(name.clone())?; + let mut mb = self.user.open_mailbox(name)?; tracing::info!(username=%self.user.username, mailbox=%name, "mailbox.selected"); let sum = mb.summary().await?; |