From 46be79049ee71fb282fe5e4d1c1dc7fdee25a345 Mon Sep 17 00:00:00 2001 From: DrKLO Date: Sat, 4 Jan 2020 01:58:46 +0300 Subject: [PATCH] Update to 5.13.1 (1826) --- TMessagesProj/build.gradle | 2 +- .../src/main/java/org/telegram/messenger/BuildVars.java | 2 +- .../main/java/org/telegram/messenger/MessagesController.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TMessagesProj/build.gradle b/TMessagesProj/build.gradle index 26de3d92b..546f3c369 100644 --- a/TMessagesProj/build.gradle +++ b/TMessagesProj/build.gradle @@ -283,7 +283,7 @@ android { } } - defaultConfig.versionCode = 1825 + defaultConfig.versionCode = 1826 applicationVariants.all { variant -> variant.outputs.all { output -> diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java b/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java index c51a93274..1e0020e2f 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java @@ -19,7 +19,7 @@ public class BuildVars { public static boolean USE_CLOUD_STRINGS = true; public static boolean CHECK_UPDATES = true; public static boolean TON_WALLET_STANDALONE = false; - public static int BUILD_VERSION = 1825; + public static int BUILD_VERSION = 1826; public static String BUILD_VERSION_STRING = "5.13.0"; public static int APP_ID = 4; public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103"; diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/MessagesController.java b/TMessagesProj/src/main/java/org/telegram/messenger/MessagesController.java index 84bd934a1..e44921e92 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/MessagesController.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/MessagesController.java @@ -6070,7 +6070,7 @@ public class MessagesController extends BaseController implements NotificationCe dialogs.messages.addAll(res.messages); dialogs.count = 1; processDialogsUpdate(dialogs, null); - getMessagesStorage().putMessages(res.messages, true, true, false, getDownloadController().getAutodownloadMask(), true); + getMessagesStorage().putMessages(res.messages, true, true, false, getDownloadController().getAutodownloadMask(), true, false); } else { AndroidUtilities.runOnUIThread(() -> { TLRPC.Dialog currentDialog = dialogs_dict.get(dialog.id);