mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-03 19:43:04 +08:00
Summary: When syncing folders, we check if the folder needs syncing by checking if it has any new messages via the STATUS command (STATUS returns uidnext, highestmodseq among others, and is cheaper than SELECT) However, we can't issue a STATUS on a box that is already selected. Previously, if the box was already selected, we would just return it, but this was incorrect because we wouldn't get the latest box values (e.g. uidnext), causing us to think that there were no updates available, and skip syncing folders that actually needed to be synced. Now, if the box is already selected when getting the status, we have to re select it to refresh the latest values Test Plan: manual Reviewers: evan, khamidou, spang Reviewed By: spang Differential Revision: https://phab.nylas.com/D3697 |
||
---|---|---|
.. | ||
isomorphic-core | ||
local-private | ||
local-sync |