mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +08:00
e29fe2ee9b
Summary: In `FetchNewMessagesInFolder`, sometimes we haven't synced anything in the folder we are trying to fetch new messages in. Previously this would just throw an error, now we properly check if we have a fetchedmax, and if not just run a normal fetch. Also, when the target folder box was already open, we were not fetching the /latest/ box status to check the latest uidnext value, so we would skip fetching new messages when in fact there were new messages to fetch (This can happen for example when moving a sent message to the Sent folder before we've started syncing the Sent folder) Test Plan: manual Reviewers: halla, mark, evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D3802 |
||
---|---|---|
.. | ||
images | ||
spec | ||
src | ||
stylesheets | ||
main.es6 | ||
package.json |