IMAPSession::fetchAllFolders use XLIST to fetch folder list even if LIST-EXTENDED is available. Shouldn't it be otherwise, since XLIST became deprecated more than 7 years ago? What is more, there appears to be no code checking for LIST-EXTENDED capability and exposing this information in the same manner as for XLIST (e.g. mListExtendedEnabled for LIST-EXTENDED).
IMAPSession::fetchAllFolders use
XLIST
to fetch folder list even ifLIST-EXTENDED
is available. Shouldn't it be otherwise, sinceXLIST
became deprecated more than 7 years ago? What is more, there appears to be no code checking forLIST-EXTENDED
capability and exposing this information in the same manner as forXLIST
(e.g. mListExtendedEnabled forLIST-EXTENDED
).The following code should explain the situation:
https://github.com/MailCore/mailcore2/blob/fad23d736ed5a63cf8321469d3a98a583f55df97/src/core/imap/MCIMAPSession.cpp#L1555-L1560
XLIST
is always preferred, even ifLIST
can provide the same information and is standard compliant.