fix: group folder remove file size relocate

This commit is contained in:
WintBit 2023-11-11 17:05:48 +08:00
parent 9907b7092f
commit fc93f4c1f7

View file

@ -284,7 +284,9 @@ func DeleteFiles(files []*File, uid uint) error {
return errors.New("file size is dirty")
}
size += file.Size
if file.UserID > 0 {
size += file.Size
}
}
if uid > 0 {