mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 22: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.
|
/// 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
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user