Skip to content

Commit 1a029c8

Browse files
committed
📚 Document QRESYNC in supported extensions
1 parent 5fd51a6 commit 1a029c8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lib/net/imap.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,8 @@ module Net
559559
# - Updates #status with the +HIGHESTMODSEQ+ status attribute.
560560
# - Updates #select and #examine with the +condstore+ modifier, and adds
561561
# either a +HIGHESTMODSEQ+ or +NOMODSEQ+ ResponseCode to the responses.
562+
# When the current mailbox is implicitly closed by opening another, the
563+
# server must send the +CLOSED+ response code.
562564
# - Updates #search, #uid_search, #sort, and #uid_sort with the +MODSEQ+
563565
# search criterion, and adds SearchResult#modseq to the search response.
564566
# - Updates #thread and #uid_thread with the +MODSEQ+ search criterion
@@ -568,6 +570,19 @@ module Net
568570
# - Updates #store and #uid_store with the +unchangedsince+ modifier and adds
569571
# the +MODIFIED+ ResponseCode to the tagged response.
570572
#
573+
# ==== RFC7162: +QRESYNC+
574+
# All protocol changes and requirements specified for the +CONDSTORE+
575+
# extension are also a part of the +QRESYNC+ extension.
576+
# - Updates #enable with +QRESYNC+ parameter. +QRESYNC+ _must_ be explicitly
577+
# enabled before using any of the extension's command parameters. Enabling
578+
# +QRESYNC+ implicitly enables +CONDSTORE+ as well.
579+
# - Updates #select and #examine with the +qresync+ parameter, which adds a
580+
# VanishedData object to the result.
581+
# - Updates #uid_fetch with the +vanished+ modifier, which adds a VanishedData
582+
# object to the result array, before any FetchData.
583+
# - Updates #expunge and #uid_expunge to return a VanishedData response.
584+
# - Replaces all +EXPUNGE+ responses with +VANISHED+ responses (VanishedData).
585+
#
571586
# ==== RFC8438: <tt>STATUS=SIZE</tt>
572587
# - Updates #status with the +SIZE+ status attribute.
573588
#

0 commit comments

Comments
 (0)