Return highestmodseq in select+examine

This commit is contained in:
Quentin 2024-01-10 13:59:43 +01:00
parent 51510c97f7
commit 20193aa023
Signed by: quentin
GPG Key ID: E9602264D639FF68
1 changed files with 1 additions and 1 deletions

View File

@ -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",
)?))
}