Skip to content

Commit

Permalink
Merge pull request #3439 from nextcloud/backport/3432/stable-3.2
Browse files Browse the repository at this point in the history
[stable-3.2] Set pin state correct after rename
  • Loading branch information
Felix Weilbach authored Jun 14, 2021
2 parents edf1615 + 958e4e0 commit a79d9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/vfs/cfapi/cfapiwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ OCC::Result<void, QString> OCC::CfApiWrapper::updatePlaceholderInfo(const FileHa

const qint64 result = CfUpdatePlaceholder(handle.get(), &metadata,
fileIdentity.data(), sizeToDWORD(fileIdentitySize),
nullptr, 0, CF_UPDATE_FLAG_NONE, nullptr, nullptr);
nullptr, 0, CF_UPDATE_FLAG_MARK_IN_SYNC, nullptr, nullptr);

if (result != S_OK) {
qCWarning(lcCfApiWrapper) << "Couldn't update placeholder info for" << pathForHandle(handle) << ":" << _com_error(result).ErrorMessage();
Expand Down

0 comments on commit a79d9f5

Please sign in to comment.