aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-05 18:59:19 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-05 18:59:19 +0100
commit4806f7ff84c595ec6647744577388fe4fab33736 (patch)
treea4d3c0eebb9a40872449695e651b8f7df1d54d07 /src/imap/command
parentadf4d33f226a745330a3bb802fe9b96f263a0895 (diff)
downloadaerogramme-feat/more-imap-qol.tar.gz
aerogramme-feat/more-imap-qol.zip
WIP rewrite with a query managerfeat/more-imap-qol
Diffstat (limited to 'src/imap/command')
-rw-r--r--src/imap/command/examined.rs2
-rw-r--r--src/imap/command/selected.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imap/command/examined.rs b/src/imap/command/examined.rs
index 0d688c0..ec16973 100644
--- a/src/imap/command/examined.rs
+++ b/src/imap/command/examined.rs
@@ -125,7 +125,7 @@ impl<'a> ExaminedContext<'a> {
}
pub async fn noop(self) -> Result<(Response<'static>, flow::Transition)> {
- self.mailbox.mailbox.force_sync().await?;
+ self.mailbox.0.mailbox.force_sync().await?;
let updates = self.mailbox.update().await?;
Ok((
diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs
index 933f397..35c3eb4 100644
--- a/src/imap/command/selected.rs
+++ b/src/imap/command/selected.rs
@@ -152,7 +152,7 @@ impl<'a> SelectedContext<'a> {
}
pub async fn noop(self) -> Result<(Response<'static>, flow::Transition)> {
- self.mailbox.mailbox.force_sync().await?;
+ self.mailbox.0.mailbox.force_sync().await?;
let updates = self.mailbox.update().await?;
Ok((