mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
Rename store_seen_flags into store_seen_flags_on_imap
This commit is contained in:
@@ -1054,7 +1054,7 @@ impl Imap {
|
||||
}
|
||||
|
||||
/// Stores pending `\Seen` flags for messages in `imap_markseen` table.
|
||||
pub(crate) async fn store_seen_flags(&mut self, context: &Context) -> Result<()> {
|
||||
pub(crate) async fn store_seen_flags_on_imap(&mut self, context: &Context) -> Result<()> {
|
||||
self.prepare(context).await?;
|
||||
|
||||
let rows = context
|
||||
|
||||
@@ -170,9 +170,9 @@ async fn fetch_idle(ctx: &Context, connection: &mut Imap, folder: Config) -> Int
|
||||
|
||||
if folder == Config::ConfiguredInboxFolder {
|
||||
if let Err(err) = connection
|
||||
.store_seen_flags(ctx)
|
||||
.store_seen_flags_on_imap(ctx)
|
||||
.await
|
||||
.context("store_seen_flags failed")
|
||||
.context("store_seen_flags_on_imap failed")
|
||||
{
|
||||
warn!(ctx, "{:#}", err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user