Function deltachat::imap::prefetch_should_download
source · pub(crate) async fn prefetch_should_download(
context: &Context,
headers: &[MailHeader<'_>],
message_id: &str,
flags: impl Iterator<Item = Flag<'_>>
) -> Result<bool>
Expand description
Determines whether the message should be downloaded based on prefetched headers.