From e879e46f09e710f1de68ca0637d709a4bb377e12 Mon Sep 17 00:00:00 2001 From: luvletter2333 Date: Wed, 27 Jul 2022 17:22:01 +0800 Subject: [PATCH] bump version --- TMessagesProj/build.gradle | 4 ++-- .../src/main/java/org/telegram/messenger/FileLoader.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TMessagesProj/build.gradle b/TMessagesProj/build.gradle index 02c7c9469..ffab6798f 100644 --- a/TMessagesProj/build.gradle +++ b/TMessagesProj/build.gradle @@ -3,8 +3,8 @@ import cn.hutool.core.util.RuntimeUtil apply plugin: "com.android.application" apply plugin: "kotlin-android" -def verName = "8.8.5-rc01" -def verCode = 662 +def verName = "8.8.5-rc02" +def verCode = 663 if (System.getenv("DEBUG_BUILD") == "true") { verName += "-" + RuntimeUtil.execForStr("git log --pretty=format:'%h' -n 1").trim() diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/FileLoader.java b/TMessagesProj/src/main/java/org/telegram/messenger/FileLoader.java index 67c003067..e950b5f5b 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/FileLoader.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/FileLoader.java @@ -782,7 +782,7 @@ public class FileLoader extends BaseController { } } else if (!TextUtils.isEmpty(getDocumentFileName(document)) && canSaveAsFile(parentObject)) { storeFileName = getDocumentFileName(document); - File newDir = getDirectory(MEDIA_DIR_FILES); + File newDir = getDirectory(MEDIA_DIR_DOCUMENT); if (newDir != null) { storeDir = newDir; saveCustomPath = true;