mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
68ab8e22c9
Summary: When we delete drafts, they can sometimes come back because we receive deltas about them, find that they're not in the cache, and re-save them. This diff fixes that by permanently incrementing the optimistic change count, which was also do to prevent deltas from changing threads while we're in the middle of a request that will change them further. (This may not actually be necessary anymore, because we'd ignore the delta anyway due to it's out-of-date version?) Test Plan: Run a couple new tests Reviewers: drew, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D2665 |
||
---|---|---|
.. | ||
change-folder-task-spec.coffee | ||
change-labels-task-spec.coffee | ||
change-mail-task-spec.coffee | ||
change-starred-task-spec.coffee | ||
change-unread-task-spec.coffee | ||
destroy-category-task-spec.coffee | ||
destroy-model-task-spec.es6 | ||
event-rsvp-task-spec.coffee | ||
send-draft-task-spec.coffee | ||
syncback-category-task-spec.coffee | ||
syncback-draft-task-spec.coffee | ||
syncback-model-task-spec.es6 | ||
task-factory-spec.coffee | ||
task-spec.coffee |