Update sync.d

* If the timestamp was corrected locally, and the files are now equal, save the data to the database to ensure this record is kept
This commit is contained in:
abraunegg 2024-02-04 07:51:37 +11:00
parent 627726edd1
commit d0214a8624

View file

@ -1784,6 +1784,8 @@ class SyncEngine {
if (localModifiedTime == itemModifiedTime) {
// yes they are equal
addLogEntry("File timestamps are equal, no further action required", ["verbose"]); // correct message as timestamps are equal
addLogEntry("Update/Insert local database with item details: " ~ to!string(newDatabaseItem), ["debug"]);
itemDB.upsert(newDatabaseItem);
return;
}
}