fix(rclone): mailru için fileName fallback ekle

This commit is contained in:
2026-02-03 11:53:47 +03:00
parent 90587aa6d6
commit a011af7368

View File

@@ -915,7 +915,8 @@ function updateMoveProgressFromStats(stats) {
applyProgress(job, prefixes, relRoot); applyProgress(job, prefixes, relRoot);
} }
for (const job of mailruJobs.values()) { for (const job of mailruJobs.values()) {
const relRoot = job.folderId || ""; // MailRu için folderId null olabilir, fileName kullanıyoruz
const relRoot = job.folderId || job.fileName || "";
const prefixes = [ const prefixes = [
relRoot, relRoot,
RCLONE_REMOTE_PATH ? `${RCLONE_REMOTE_PATH}/${relRoot}` : null RCLONE_REMOTE_PATH ? `${RCLONE_REMOTE_PATH}/${relRoot}` : null