Mailspring/packages
Juan Tejada 6856a2ccf7 [local-sync] When replying to a thread, properly add it to Sent folder
Summary:
Previously, when processing messages during folder sync, if the message already existed, and it belonged to a thread, we would update the message, but forget to update its thread with any changes that new
message would produce on the thread (e.g. updating the threads folders or labels).

One obvious manifestation of this was when replying to a thread: the EnsureMessageInSentFolderTask would create the new message, and then attempt to sync the sent folder to fetch the newly created message. When processing this message during sync, we would update the message but not update its thread, so the thread would not be associated to the sent folder, and it wouldn't show up in your sent items list in the UI.

Test Plan: manually verify that it works

Reviewers: evan, mark, spang

Reviewed By: mark, spang

Differential Revision: https://phab.nylas.com/D3872
2017-02-09 15:04:12 -08:00
..
isomorphic-core [local-sync] Fix Mailbox does not exist error during sync 2017-02-08 17:23:17 -08:00
local-private [local-sync] Don't crash app when reporting error and id not available 2017-02-09 09:27:36 -08:00
local-sync [local-sync] When replying to a thread, properly add it to Sent folder 2017-02-09 15:04:12 -08:00