From 60805bd916677eb5b45b087304cf2436836d9d00 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 8 Apr 2024 22:13:29 +0400 Subject: [PATCH] Version 4.16.5. - Fix editing privacy for groups and channels invitations. - Possible fix for the network unresponsiveness after sleep. - Possible fix for wide range of memory allocator crashes on Linux. --- Telegram/Resources/uwp/AppX/AppxManifest.xml | 2 +- Telegram/Resources/winrc/Telegram.rc | 8 ++++---- Telegram/Resources/winrc/Updater.rc | 8 ++++---- Telegram/SourceFiles/boxes/edit_privacy_box.cpp | 4 +--- Telegram/SourceFiles/core/version.h | 4 ++-- Telegram/build/version | 8 ++++---- changelog.txt | 6 ++++++ 7 files changed, 22 insertions(+), 18 deletions(-) diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml index c4d83fefbd..eed18252f4 100644 --- a/Telegram/Resources/uwp/AppX/AppxManifest.xml +++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml @@ -10,7 +10,7 @@ + Version="4.16.5.0" /> Telegram Desktop Telegram Messenger LLP diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index 4d01d23965..ccb788b233 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 4,16,4,0 - PRODUCTVERSION 4,16,4,0 + FILEVERSION 4,16,5,0 + PRODUCTVERSION 4,16,5,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -62,10 +62,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop" - VALUE "FileVersion", "4.16.4.0" + VALUE "FileVersion", "4.16.5.0" VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "4.16.4.0" + VALUE "ProductVersion", "4.16.5.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index 945b1bbb86..0ff0365430 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 4,16,4,0 - PRODUCTVERSION 4,16,4,0 + FILEVERSION 4,16,5,0 + PRODUCTVERSION 4,16,5,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", "4.16.4.0" + VALUE "FileVersion", "4.16.5.0" VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "4.16.4.0" + VALUE "ProductVersion", "4.16.5.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp index 5fbb5383b6..7800e277e2 100644 --- a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp +++ b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp @@ -160,7 +160,6 @@ public: private: const not_null _session; - bool _premiums = false; rpl::event_stream<> _selectionChanged; rpl::event_stream _rowSelectionChanges; @@ -207,8 +206,7 @@ bool PremiumsRow::useForumLikeUserpic() const { TypesController::TypesController( not_null session, bool premiums) -: _session(session) -, _premiums(premiums) { +: _session(session) { } Main::Session &TypesController::session() const { diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index 6b30124d75..35d3a09e1a 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 = 4016004; -constexpr auto AppVersionStr = "4.16.4"; +constexpr auto AppVersion = 4016005; +constexpr auto AppVersionStr = "4.16.5"; constexpr auto AppBetaVersion = false; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; diff --git a/Telegram/build/version b/Telegram/build/version index 7d28e36772..599d948d47 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,7 +1,7 @@ -AppVersion 4016004 +AppVersion 4016005 AppVersionStrMajor 4.16 -AppVersionStrSmall 4.16.4 -AppVersionStr 4.16.4 +AppVersionStrSmall 4.16.5 +AppVersionStr 4.16.5 BetaChannel 0 AlphaVersion 0 -AppVersionOriginal 4.16.4 +AppVersionOriginal 4.16.5 diff --git a/changelog.txt b/changelog.txt index bff1b5e4f5..f3bb9b3e72 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +4.16.5 (08.04.24) + +- Fix editing privacy for groups and channels invitations. +- Possible fix for the network unresponsiveness after sleep. +- Possible fix for wide range of memory allocator crashes on Linux. + 4.16.4 (06.04.24) - Bug fixes and other minor improvements.