Rename markseen_on_imap to markseen_on_imap_table and document it

This commit is contained in:
link2xt
2022-04-17 11:56:48 +00:00
parent 66c4de2607
commit 1afbbbc737
3 changed files with 8 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ use crate::download::DownloadState;
use crate::ephemeral::{stock_ephemeral_timer_changed, Timer as EphemeralTimer};
use crate::events::EventType;
use crate::headerdef::{HeaderDef, HeaderDefMap};
use crate::imap::markseen_on_imap;
use crate::imap::markseen_on_imap_table;
use crate::location;
use crate::log::LogExt;
use crate::message::{
@@ -339,7 +339,7 @@ pub(crate) async fn dc_receive_imf_inner(
.await?;
} else if !mime_parser.mdn_reports.is_empty() && mime_parser.has_chat_version() {
// This is a Delta Chat MDN. Mark as read.
markseen_on_imap(context, rfc724_mid).await?;
markseen_on_imap_table(context, rfc724_mid).await?;
}
}