refactor: remove set_modseq() function

This is a follow-up to 8f51c7b9d5
which removed sync_seen_flags().

MODSEQ is a message attribute related to
CONDSTORE IMAP extension and is not used anymore
since CONDSTORE is not used.
This commit is contained in:
link2xt
2026-07-12 06:16:01 +00:00
committed by l
parent 823b0741df
commit 079fb352e3
2 changed files with 1 additions and 21 deletions
+1 -4
View File
@@ -3,7 +3,7 @@
use anyhow::Context as _;
use super::session::Session as ImapSession;
use super::{get_uid_next, get_uidvalidity, set_modseq, set_uid_next, set_uidvalidity};
use super::{get_uid_next, get_uidvalidity, set_uid_next, set_uidvalidity};
use crate::context::Context;
use crate::ensure_and_debug_assert;
use crate::log::warn;
@@ -200,9 +200,6 @@ impl ImapSession {
return Ok(true);
}
// UIDVALIDITY is modified, reset highest seen MODSEQ.
set_modseq(context, transport_id, folder, 0).await?;
// ============== uid_validity has changed or is being set the first time. ==============
let new_uid_next = new_uid_next.unwrap_or_default();