aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/authenticated.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-09 16:53:32 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-09 16:53:32 +0100
commit5dfa02e381154c03adee33262e247797d9a2f8ff (patch)
tree3c9086d929049e54654ccdba7a6b08ab7e9f6e7b /src/imap/command/authenticated.rs
parentd49a2355f71fe555a67a815c31800f901a0d0a71 (diff)
downloadaerogramme-5dfa02e381154c03adee33262e247797d9a2f8ff.tar.gz
aerogramme-5dfa02e381154c03adee33262e247797d9a2f8ff.zip
Disable UNSEEN again as it was a volunteer decision to not implement it
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r--src/imap/command/authenticated.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs
index 1481a80..8e5b2e6 100644
--- a/src/imap/command/authenticated.rs
+++ b/src/imap/command/authenticated.rs
@@ -404,6 +404,7 @@ impl<'a> AuthenticatedContext<'a> {
it is therefore correct to not return it even if there are unseen messages
RFC9051 (imap4rev2) says that OK [UNSEEN] responses are deprecated after SELECT and EXAMINE
For Aerogramme, we just don't send the OK [UNSEEN], it's correct to do in both specifications.
+
20 select "INBOX.achats"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded JUNK $label1)