From 9f79dda463eca29a3fac2c6fc27f42a5829306fb Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 12 Feb 2025 18:32:34 +0400 Subject: [PATCH] Version 5.11. - Copy video links at current time. - Set custom video covers when posting to channels. - Send paid reactions from the name of your channels. --- Telegram/Resources/uwp/AppX/AppxManifest.xml | 2 +- Telegram/Resources/winrc/Telegram.rc | 8 ++++---- Telegram/Resources/winrc/Updater.rc | 8 ++++---- Telegram/SourceFiles/core/version.h | 6 +++--- .../history/view/media/history_view_gif.cpp | 2 +- Telegram/build/version | 12 ++++++------ Telegram/lib_webview | 2 +- changelog.txt | 6 ++++++ 8 files changed, 26 insertions(+), 20 deletions(-) diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml index 63e06e301..be4bfd3cb 100644 --- a/Telegram/Resources/uwp/AppX/AppxManifest.xml +++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml @@ -10,7 +10,7 @@ + Version="5.11.0.0" /> Telegram Desktop Telegram Messenger LLP diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index 6488710f4..3ce94a9ed 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,10,8,0 - PRODUCTVERSION 5,10,8,0 + FILEVERSION 5,11,0,0 + PRODUCTVERSION 5,11,0,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.10.8.0" + VALUE "FileVersion", "5.11.0.0" VALUE "LegalCopyright", "Copyright (C) 2014-2025" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.10.8.0" + VALUE "ProductVersion", "5.11.0.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index cb5faa8c2..0dce5dbf9 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,10,8,0 - PRODUCTVERSION 5,10,8,0 + FILEVERSION 5,11,0,0 + PRODUCTVERSION 5,11,0,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.10.8.0" + VALUE "FileVersion", "5.11.0.0" VALUE "LegalCopyright", "Copyright (C) 2014-2025" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.10.8.0" + VALUE "ProductVersion", "5.11.0.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index 83303ab01..71832c6d5 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 = 5010008; -constexpr auto AppVersionStr = "5.10.8"; -constexpr auto AppBetaVersion = true; +constexpr auto AppVersion = 5011000; +constexpr auto AppVersionStr = "5.11"; +constexpr auto AppBetaVersion = false; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp index 68546d6aa..63be75784 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp @@ -1901,7 +1901,7 @@ void Gif::updateStatusText() const { statusSize = -1 - int((state.length - position) / state.frequency + 1); } _videoPosition = std::max( - position * crl::time(1000) / state.frequency, + crl::time(position * crl::time(1000) / state.frequency), crl::time(1)); } else { if (!frozen) { diff --git a/Telegram/build/version b/Telegram/build/version index feab06168..449357db8 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,7 +1,7 @@ -AppVersion 5010008 -AppVersionStrMajor 5.10 -AppVersionStrSmall 5.10.8 -AppVersionStr 5.10.8 -BetaChannel 1 +AppVersion 5011000 +AppVersionStrMajor 5.11 +AppVersionStrSmall 5.11 +AppVersionStr 5.11.0 +BetaChannel 0 AlphaVersion 0 -AppVersionOriginal 5.10.8.beta +AppVersionOriginal 5.11 diff --git a/Telegram/lib_webview b/Telegram/lib_webview index 38c8def33..8e0846da9 160000 --- a/Telegram/lib_webview +++ b/Telegram/lib_webview @@ -1 +1 @@ -Subproject commit 38c8def33a096933b572dcd6fa55a8c13d65e796 +Subproject commit 8e0846da98de0faee3ea60651a1564d94778e5ce diff --git a/changelog.txt b/changelog.txt index 42bc71aeb..c4d0df0f9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +5.11 (12.02.25) + +- Copy video links at current time. +- Set custom video covers when posting to channels. +- Send paid reactions from the name of your channels. + 5.10.8 beta (12.02.25) - Edit keyboard shortcuts in Settings > Chat Settings.