diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-10 13:59:43 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-10 13:59:43 +0100 |
commit | 20193aa023b3f6a6d24d8127f1d8dcb81a43aa3b (patch) | |
tree | 60d8b41a0904196a236e075b0cbff78687222587 | |
parent | 51510c97f7b76a73a2032eb089552cf9a13e9274 (diff) | |
download | aerogramme-20193aa023b3f6a6d24d8127f1d8dcb81a43aa3b.tar.gz aerogramme-20193aa023b3f6a6d24d8127f1d8dcb81a43aa3b.zip |
Return highestmodseq in select+examine
-rw-r--r-- | src/imap/mailbox_view.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imap/mailbox_view.rs b/src/imap/mailbox_view.rs index 90cfc70..a3d56f0 100644 --- a/src/imap/mailbox_view.rs +++ b/src/imap/mailbox_view.rs @@ -399,7 +399,7 @@ impl MailboxView { pub(crate) fn highestmodseq_status(&self) -> Result<Body<'static>> { Ok(Body::Status(Status::ok( None, - Some(Code::Other(CodeOther::unvalidated(format!("HIGHESTMODSEQ {}", 0).into_bytes()))), + Some(Code::Other(CodeOther::unvalidated(format!("HIGHESTMODSEQ {}", self.internal.snapshot.highestmodseq).into_bytes()))), "Highest", )?)) } |