Rename store_seen_flags into store_seen_flags_on_imap

This commit is contained in:
link2xt
2022-04-17 14:55:10 +00:00
parent 1afbbbc737
commit 1fa892c239
2 changed files with 3 additions and 3 deletions

View File

@@ -1054,7 +1054,7 @@ impl Imap {
} }
/// Stores pending `\Seen` flags for messages in `imap_markseen` table. /// 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?; self.prepare(context).await?;
let rows = context let rows = context

View File

@@ -170,9 +170,9 @@ async fn fetch_idle(ctx: &Context, connection: &mut Imap, folder: Config) -> Int
if folder == Config::ConfiguredInboxFolder { if folder == Config::ConfiguredInboxFolder {
if let Err(err) = connection if let Err(err) = connection
.store_seen_flags(ctx) .store_seen_flags_on_imap(ctx)
.await .await
.context("store_seen_flags failed") .context("store_seen_flags_on_imap failed")
{ {
warn!(ctx, "{:#}", err); warn!(ctx, "{:#}", err);
} }