aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2023-05-13 00:07:41 +0200
committerRobin Jarry <robin@jarry.cc>2023-05-16 13:56:58 +0200
commit8dca1171c7c40228e3be4f2eedcb1fe85a680e7c (patch)
tree9903056b7eb76fe28994e2c5f12f786baf31f6c1 /lib
parent06723ff579b692867c6ab87e3838d04e9d044912 (diff)
downloadaerc-8dca1171c7c40228e3be4f2eedcb1fe85a680e7c.tar.gz
imap: handle the NonExistent attribute
Treat the "\NonExistent" attribute similar to the "\NoSelect" one. Only list folders without the "\NonExistent" or "\NoSelect" attribute. According to RFC 9501, section 7.3.1, the "\NonExistent" attribute implies "\NoSelect". When using the LIST-STATUS extension, some servers return a "\NonExistent" flag instead of the "\NoSelect" one. We only check for the "\NoSelect" attribute, and hence, a "\NonExistent" folder will appear in the directory list and raise an error when being selected. This occurs, e.g., for gmail accounts with the "[Gmail]" folder. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions