docs: Add some `TODO(#222)`s.

pull/248/head
Damian Poddebniak 2023-07-04 21:32:07 +02:00
parent 9d51b6bd52
commit 34a54d3c05
3 changed files with 5 additions and 0 deletions

View File

@ -1403,6 +1403,7 @@ impl ImapType {
.iter()
.any(|cap| cap.eq_ignore_ascii_case(b"LIST-STATUS"));
if has_list_status {
// TODO(#222): imap-codec does not support "LIST Command Extensions" currently.
conn.send_command_raw(b"LIST \"\" \"*\" RETURN (STATUS (MESSAGES UNSEEN))")
.await?;
conn.read_response(

View File

@ -423,6 +423,7 @@ impl ImapConnection {
// "SEARCH MODSEQ <cached-value>".
// 2. tag1 UID FETCH <lastseenuid+1>:* <descriptors>
// TODO(#222): imap-codec does not support "CONDSTORE/QRESYNC" currently.
self.send_command_raw(
format!(
"UID FETCH {}:* (UID FLAGS ENVELOPE BODY.PEEK[HEADER.FIELDS (REFERENCES)] \
@ -518,6 +519,7 @@ impl ImapConnection {
mailbox_exists.lock().unwrap().insert_set(payload_hash_set);
// 3. tag2 UID FETCH 1:<lastseenuid> FLAGS
if cached_max_uid == 0 {
// TODO(#222): imap-codec does not support "CONDSTORE/QRESYNC" currently.
self.send_command_raw(
format!(
"UID FETCH 1:* FLAGS (CHANGEDSINCE {})",
@ -527,6 +529,7 @@ impl ImapConnection {
)
.await?;
} else {
// TODO(#222): imap-codec does not support "CONDSTORE/QRESYNC" currently.
self.send_command_raw(
format!(
"UID FETCH 1:{} FLAGS (CHANGEDSINCE {})",

View File

@ -261,6 +261,7 @@ pub async fn examine_updates(
.iter()
.any(|cap| cap.eq_ignore_ascii_case(b"LIST-STATUS"));
if has_list_status {
// TODO(#222): imap-codec does not support "LIST Command Extensions" currently.
conn.send_command_raw(
format!(
"LIST \"{}\" \"\" RETURN (STATUS (MESSAGES UNSEEN))",