Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[buteo-sync-plugins-social] Discard spurious local addition due to do…
…wnsync. Contributes to JB#47783 Previously, we would determine that local additions caused by a downsync during the previous sync cycle should be treated as local modifications, and upsynced. This commit checks whether a local modification has indeed occurred by checking the lastModified date stamp, and if no modification has occurred, discarding the change to prevent spurious upsync. It also fixes a bug where the wrong "since" date time would be used when determining the local changeset, as it may be using one from a different notebook by mistake. This commit updates the code so that the appropriate previous sync date for the specific notebook is used.
- Loading branch information
Chris Adams
committed
Jan 29, 2020
1 parent
9426b48
commit 747fe3f
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters