Don't modify Date Modified when updating downloaded attachment state

This commit is contained in:
Dan Stillman 2016-03-16 01:36:59 -04:00
parent b9444892a0
commit 8df6b4bbd3

View File

@ -580,7 +580,10 @@ Zotero.Sync.Storage.Local = {
item.attachmentSyncState = this.SYNC_STATE_IN_SYNC;
item.attachmentSyncedModificationTime = mtime;
item.attachmentSyncedHash = md5;
yield item.saveTx();
yield item.saveTx({
skipDateModifiedUpdate: true,
skipSelect: true
});
return new Zotero.Sync.Storage.Result({
localChanges: true