diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-09 17:40:23 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-09 17:40:23 +0100 |
commit | 6e798b90f590e21bb68535f0431fc547e5e2390c (patch) | |
tree | 6c1f76c49d712836db3bd2772d34ac473ecabe12 /src/imap/command/authenticated.rs | |
parent | 5dfa02e381154c03adee33262e247797d9a2f8ff (diff) | |
download | aerogramme-6e798b90f590e21bb68535f0431fc547e5e2390c.tar.gz aerogramme-6e798b90f590e21bb68535f0431fc547e5e2390c.zip |
prepare condstore
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r-- | src/imap/command/authenticated.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs index 8e5b2e6..954e758 100644 --- a/src/imap/command/authenticated.rs +++ b/src/imap/command/authenticated.rs @@ -292,7 +292,7 @@ impl<'a> AuthenticatedContext<'a> { } }; - let view = MailboxView::new(mb).await; + let view = MailboxView::new(mb, self.client_capabilities.condstore.is_enabled()).await; let mut ret_attrs = vec![]; for attr in attributes.iter() { @@ -439,7 +439,7 @@ impl<'a> AuthenticatedContext<'a> { }; tracing::info!(username=%self.user.username, mailbox=%name, "mailbox.selected"); - let mb = MailboxView::new(mb).await; + let mb = MailboxView::new(mb, self.client_capabilities.condstore.is_enabled()).await; let data = mb.summary()?; Ok(( @@ -474,7 +474,7 @@ impl<'a> AuthenticatedContext<'a> { }; tracing::info!(username=%self.user.username, mailbox=%name, "mailbox.examined"); - let mb = MailboxView::new(mb).await; + let mb = MailboxView::new(mb, self.client_capabilities.condstore.is_enabled()).await; let data = mb.summary()?; Ok(( |