mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Skipping of all [Gmail] folders was introduced to avoid scanning virtual "[Gmail]/All Mail" folder. However, it also skips Sent and Spam folders which reside inside [Gmail]. As a result configured_sentbox_folder becomes unset after folder scan, making it impossible to watch Sent folder, and Spam folder is never scanned. This change makes Delta Chat identify virtual Gmail folders by their flags, so virtual folders are skipped while Sent and Spam folders are still scanned.