[ews] EWS folders never have the `Offline` folderflag set by default.
Categories
(MailNews Core :: Networking: Exchange, defect)
Tracking
(Not tracked)
People
(Reporter: benc, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fixed by bug 1986399])
Some (most?) EWS folders should be flagged for offline use to indicate they should download messages to the local store.
Not sure where this happens for IMAP, but I suspect the rules and mechanism would be the same (INBOX always marked Offline by default, but not the Trash folder, etc....)
| Reporter | ||
Comment 1•2 months ago
|
||
Taking a quick peek through the IMAP code:
There's an attr on the IMAP server object which says if the newly-created folders should have the offline Flag set:
https://searchfox.org/comm-central/rev/ddf2f4c45cede0aaab17c48962a320af37bf7363/mailnews/imap/src/nsImapMailFolder.cpp#309
Folders with Trash or Junk flags are not marked offline:
https://searchfox.org/comm-central/rev/ddf2f4c45cede0aaab17c48962a320af37bf7363/mailnews/imap/src/nsImapMailFolder.cpp#390-398
https://searchfox.org/comm-central/rev/ddf2f4c45cede0aaab17c48962a320af37bf7363/mailnews/imap/src/nsImapMailFolder.cpp#933-946
| Reporter | ||
Updated•2 months ago
|
| Reporter | ||
Comment 2•1 month ago
|
||
I think this is handled by https://phabricator.services.mozilla.com/D264677
Updated•1 month ago
|
Description
•