Open Bug 2060778 Opened 3 months ago Updated 3 months ago

Simplify folder iteration in nsImapOfflineSync and nsImapOfflineDownloader

Categories

(MailNews Core :: Database, task)

task

Tracking

(Not tracked)

People

(Reporter: benc, Unassigned)

References

Details

nsImapOfflineSync and nsImapOfflineDownloader both have crazy complex systems for iterating through the folders they need to process, with lots of state variables and special cases.

Both would be vastly simplified if they just built a list of folders to iterate through up front, with the single-folder case falling out gracefully, and special-case checks gotten rid of.

You need to log in before you can comment on or make changes to this bug.