diff --git a/src/libsync/propagateremotemove.cpp b/src/libsync/propagateremotemove.cpp index 6d2c0a229b047..3a16f455d9078 100644 --- a/src/libsync/propagateremotemove.cpp +++ b/src/libsync/propagateremotemove.cpp @@ -290,12 +290,6 @@ void PropagateRemoteMove::finalize() } } - if (!FileSystem::fileExists(targetFile)) { - propagator()->_journal->commit("Remote Rename"); - done(SyncFileItem::Success, {}, ErrorCategory::NoError); - return; - } - const auto result = propagator()->updateMetadata(newItem); if (!result) { done(SyncFileItem::FatalError, tr("Error updating metadata: %1").arg(result.error()), ErrorCategory::GenericError);