Skip to content

Commit

Permalink
Merge pull request #6216 from nextcloud/bugfix/fixEditLocallyFromServ…
Browse files Browse the repository at this point in the history
…erWithDataFingerprint

avoid restore algorithm by setting the data fingerprint from sync DB
  • Loading branch information
mgallien committed Nov 24, 2023
2 parents c052ee1 + f8730b6 commit 6b66b38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libsync/syncengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,8 @@ void SyncEngine::startSync()
}

if (singleItemDiscoveryOptions().isValid() && singleItemDiscoveryOptions().discoveryDirItem) {
const auto databaseFingerprint = _journal->dataFingerprint();
_discoveryPhase->_dataFingerprint = databaseFingerprint;
ProcessDirectoryJob::PathTuple path = {};
path._local = path._original = path._server = path._target = singleItemDiscoveryOptions().discoveryPath;

Expand Down

0 comments on commit 6b66b38

Please sign in to comment.