diff --git a/lib/model/folder_sendrecv.go b/lib/model/folder_sendrecv.go index 60c152d94..69669dfd3 100644 --- a/lib/model/folder_sendrecv.go +++ b/lib/model/folder_sendrecv.go @@ -1521,7 +1521,7 @@ func (f *sendReceiveFolder) performFinish(file, curFile protocol.FileInfo, hasCu return f.moveForConflict(name, file.ModifiedBy.String(), scanChan) }, f.fs, curFile.Name) } else { - err = f.deleteItemOnDisk(file, scanChan) + err = f.deleteItemOnDisk(curFile, scanChan) } if err != nil { return err