diff options
Diffstat (limited to 'src/imap/command/selected.rs')
-rw-r--r-- | src/imap/command/selected.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs index a447a49..bb78cbd 100644 --- a/src/imap/command/selected.rs +++ b/src/imap/command/selected.rs @@ -1,3 +1,5 @@ +use std::sync::Arc; + use anyhow::Result; use boitalettres::proto::Request; use boitalettres::proto::Response; @@ -16,7 +18,7 @@ use crate::mail::user::User; pub struct SelectedContext<'a> { pub req: &'a Request, - pub user: &'a User, + pub user: &'a Arc<User>, pub mailbox: &'a mut MailboxView, } |