@@ -502,6 +502,10 @@ module Net
502
502
#
503
503
# - See #enable for information about support for UTF-8 string encoding.
504
504
#
505
+ # ==== RFC7162: +CONDSTORE+
506
+ #
507
+ # - Updates #status with the +HIGHESTMODSEQ+ status attribute.
508
+ #
505
509
# ==== RFC8438: <tt>STATUS=SIZE</tt>
506
510
# - Updates #status with the +SIZE+ status attribute.
507
511
#
@@ -1689,7 +1693,7 @@ def lsub(refname, mailbox)
1689
1693
end
1690
1694
end
1691
1695
1692
- # Sends a {STATUS commands [IMAP4rev1 §6.3.10]}[https://www.rfc-editor.org/rfc/rfc3501#section-6.3.10]
1696
+ # Sends a {STATUS command [IMAP4rev1 §6.3.10]}[https://www.rfc-editor.org/rfc/rfc3501#section-6.3.10]
1693
1697
# and returns the status of the indicated +mailbox+. +attr+ is a list of one
1694
1698
# or more attributes whose statuses are to be requested.
1695
1699
#
@@ -1716,10 +1720,13 @@ def lsub(refname, mailbox)
1716
1720
# The approximate size of the mailbox---must be greater than or equal to
1717
1721
# the sum of all messages' +RFC822.SIZE+ fetch item values.
1718
1722
#
1723
+ # +HIGHESTMODSEQ+::
1724
+ # The highest mod-sequence value of all messages in the mailbox. See
1725
+ # +CONDSTORE+ {[RFC7162]}[https://www.rfc-editor.org/rfc/rfc7162.html].
1726
+ #
1719
1727
# +MAILBOXID+::
1720
- # A server-allocated unique _string_ identifier for the mailbox.
1721
- # See +OBJECTID+
1722
- # {[RFC8474]}[https://www.rfc-editor.org/rfc/rfc8474.html#section-4].
1728
+ # A server-allocated unique _string_ identifier for the mailbox. See
1729
+ # +OBJECTID+ {[RFC8474]}[https://www.rfc-editor.org/rfc/rfc8474.html].
1723
1730
#
1724
1731
# +RECENT+::
1725
1732
# The number of messages with the <tt>\Recent</tt> flag.
@@ -1741,6 +1748,9 @@ def lsub(refname, mailbox)
1741
1748
#
1742
1749
# +DELETED+ requires the server's capabilities to include +IMAP4rev2+.
1743
1750
#
1751
+ # +HIGHESTMODSEQ+ requires the server's capabilities to include +CONDSTORE+
1752
+ # {[RFC7162]}[https://www.rfc-editor.org/rfc/rfc7162.html].
1753
+ #
1744
1754
# +MAILBOXID+ requires the server's capabilities to include +OBJECTID+
1745
1755
# {[RFC8474]}[https://www.rfc-editor.org/rfc/rfc8474.html].
1746
1756
def status ( mailbox , attr )
0 commit comments