From 4505a2bf2dbb73185b4bb8b18b2aab721765bb7e Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 23 Dec 2024 22:51:04 +0400 Subject: [PATCH] Beta version 5.9.2. - Fix some jump-to-message highlightings. - Fix some long round video messages sending. - Fix possible crash in global photos / videos. - Fix streaming starting for some large video files. - Fix possible drop of top peers / recent chats cache. - Fix possible crashes in audio on macOS (rollback OpenAL). --- Telegram/Resources/uwp/AppX/AppxManifest.xml | 2 +- Telegram/Resources/winrc/Telegram.rc | 8 ++++---- Telegram/Resources/winrc/Updater.rc | 8 ++++---- Telegram/SourceFiles/boxes/star_gift_box.cpp | 4 ---- Telegram/SourceFiles/core/version.h | 4 ++-- .../SourceFiles/info/profile/info_profile_actions.cpp | 1 - Telegram/build/version | 8 ++++---- changelog.txt | 9 +++++++++ 8 files changed, 24 insertions(+), 20 deletions(-) diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml index 579eb99a57b251..5111b03688d686 100644 --- a/Telegram/Resources/uwp/AppX/AppxManifest.xml +++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml @@ -10,7 +10,7 @@ + Version="5.9.2.0" /> Telegram Desktop Telegram Messenger LLP diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index bc5248a1094482..3f9084e1d41f6b 100644 --- a/Telegram/Resources/winrc/Telegram.rc +++ b/Telegram/Resources/winrc/Telegram.rc @@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico" // VS_VERSION_INFO VERSIONINFO - FILEVERSION 5,9,1,0 - PRODUCTVERSION 5,9,1,0 + FILEVERSION 5,9,2,0 + PRODUCTVERSION 5,9,2,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -62,10 +62,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop" - VALUE "FileVersion", "5.9.1.0" + VALUE "FileVersion", "5.9.2.0" VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.9.1.0" + VALUE "ProductVersion", "5.9.2.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index d6d1e6e70b94ce..c65b7c50e6d018 100644 --- a/Telegram/Resources/winrc/Updater.rc +++ b/Telegram/Resources/winrc/Updater.rc @@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US // VS_VERSION_INFO VERSIONINFO - FILEVERSION 5,9,1,0 - PRODUCTVERSION 5,9,1,0 + FILEVERSION 5,9,2,0 + PRODUCTVERSION 5,9,2,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -53,10 +53,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop Updater" - VALUE "FileVersion", "5.9.1.0" + VALUE "FileVersion", "5.9.2.0" VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.9.1.0" + VALUE "ProductVersion", "5.9.2.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/boxes/star_gift_box.cpp b/Telegram/SourceFiles/boxes/star_gift_box.cpp index dd96429e50fbd2..99092f81ce3d2d 100644 --- a/Telegram/SourceFiles/boxes/star_gift_box.cpp +++ b/Telegram/SourceFiles/boxes/star_gift_box.cpp @@ -164,10 +164,6 @@ class PreviewWrap final : public Ui::RpWidget { return info.limitedCount && !info.limitedLeft; } -[[nodiscard]] bool IsInStock(const Api::StarGift &info) { - return !IsSoldOut(info); -} - PreviewDelegate::PreviewDelegate( not_null parent, not_null st, diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index f7ffe12c6eb993..4104f0f66c2d47 100644 --- a/Telegram/SourceFiles/core/version.h +++ b/Telegram/SourceFiles/core/version.h @@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs; constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs; constexpr auto AppName = "Telegram Desktop"_cs; constexpr auto AppFile = "Telegram"_cs; -constexpr auto AppVersion = 5009001; -constexpr auto AppVersionStr = "5.9.1"; +constexpr auto AppVersion = 5009002; +constexpr auto AppVersionStr = "5.9.2"; constexpr auto AppBetaVersion = true; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; diff --git a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp index a0bef34faa831b..a6716aa9136301 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp @@ -1245,7 +1245,6 @@ object_ptr DetailsFiller::setupInfo() { label->geometryValue(), button->sizeValue() ) | rpl::start_with_next([=](int width, QRect, QSize buttonSize) { - const auto s = parent->size(); button->moveToRight( rightSkip, (parent->height() - buttonSize.height()) / 2); diff --git a/Telegram/build/version b/Telegram/build/version index 77e62836061eb2..84c19f78647b9a 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,7 +1,7 @@ -AppVersion 5009001 +AppVersion 5009002 AppVersionStrMajor 5.9 -AppVersionStrSmall 5.9.1 -AppVersionStr 5.9.1 +AppVersionStrSmall 5.9.2 +AppVersionStr 5.9.2 BetaChannel 1 AlphaVersion 0 -AppVersionOriginal 5.9.1.beta +AppVersionOriginal 5.9.2.beta diff --git a/changelog.txt b/changelog.txt index 9afdf62b19e932..feedc8e058d30c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,12 @@ +5.9.2 beta (24.12.24) + +- Fix some jump-to-message highlightings. +- Fix some long round video messages sending. +- Fix possible crash in global photos / videos. +- Fix streaming starting for some large video files. +- Fix possible drop of top peers / recent chats cache. +- Fix possible crashes in audio on macOS (rollback OpenAL). + 5.9.1 beta (18.12.24) - Add global media overview tabs in chats search.