mirror of
https://git.sr.ht/~rjarry/aerc
synced 2025-09-16 14:32:50 +02:00
![]() We rely on IMAP's \Recent flag to trigger the new email hook, making it unreliable since not all providers support that flag (it's been deprecated in RFC 9051). This patch implements the following heuristic to force the \Recent flag on messages, regardless of what the server says, and "fixes" this inconsistency across providers: a message is always considered having the \Recent flag if: - The IMAP header cache is enabled, and - The message is not in the header cache, and - It's not marked as read, and - It's been received less than `check-mail` in the past Signed-off-by: Simon Martin <simon@nasilyan.com> Acked-by: Robin Jarry <robin@jarry.cc> |
||
---|---|---|
.. | ||
handlers | ||
imap | ||
jmap | ||
lib | ||
maildir | ||
mbox | ||
middleware | ||
notmuch | ||
types | ||
handler_notmuch.go | ||
worker.go | ||
worker_enabled.go |