We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PERMANENTFLAGS
1 parent e2d3adc commit 8be322dCopy full SHA for 8be322d
lib/net/imap/response_parser.rb
@@ -1501,7 +1501,7 @@ def resp_text_code
1501
data =
1502
case name
1503
when "CAPABILITY" then resp_code__capability
1504
- when "PERMANENTFLAGS" then SP!; flag_list
+ when "PERMANENTFLAGS" then SP? ? flag_perm__list : []
1505
when "UIDVALIDITY" then SP!; number
1506
when "UIDNEXT" then SP!; number
1507
when "UNSEEN" then SP!; number
@@ -1638,6 +1638,8 @@ def flag_list
1638
end
1639
1640
1641
+ # TODO: not quite correct. flag-perm != flag
1642
+ alias flag_perm__list flag_list
1643
1644
# See https://www.rfc-editor.org/errata/rfc3501
1645
#
0 commit comments