Version 4.11.

- View full statistics in your channels and group chats.
- Choose which link preview in added to the message.
- Choose if link preview is above or below the text.
- Choose if link preview has large or small image.
- Quote parts of text in replies.
- Add quote formatting.
- Reply in another chat.
- Add nice looking code blocks with syntax highlighting.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
- Change your name color in Chat Settings.
- Customize quotes, link previews and replies to your messages.
This commit is contained in:
John Preston 2023-10-28 23:22:46 +04:00
parent 7a754f8b00
commit c46b659aa5
7 changed files with 35 additions and 20 deletions

View file

@ -10,7 +10,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop" <Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE" ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A" Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="4.10.5.0" /> Version="4.11.0.0" />
<Properties> <Properties>
<DisplayName>Telegram Desktop</DisplayName> <DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName> <PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View file

@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,10,5,0 FILEVERSION 4,11,0,0
PRODUCTVERSION 4,10,5,0 PRODUCTVERSION 4,11,0,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -62,10 +62,10 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Telegram FZ-LLC" VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop" VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "4.10.5.0" VALUE "FileVersion", "4.11.0.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2023" VALUE "LegalCopyright", "Copyright (C) 2014-2023"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "4.10.5.0" VALUE "ProductVersion", "4.11.0.0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View file

@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,10,5,0 FILEVERSION 4,11,0,0
PRODUCTVERSION 4,10,5,0 PRODUCTVERSION 4,11,0,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -53,10 +53,10 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Telegram FZ-LLC" VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater" VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "4.10.5.0" VALUE "FileVersion", "4.11.0.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2023" VALUE "LegalCopyright", "Copyright (C) 2014-2023"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "4.10.5.0" VALUE "ProductVersion", "4.11.0.0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View file

@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs; constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
constexpr auto AppName = "Telegram Desktop"_cs; constexpr auto AppName = "Telegram Desktop"_cs;
constexpr auto AppFile = "Telegram"_cs; constexpr auto AppFile = "Telegram"_cs;
constexpr auto AppVersion = 4010005; constexpr auto AppVersion = 4011000;
constexpr auto AppVersionStr = "4.10.5"; constexpr auto AppVersionStr = "4.11";
constexpr auto AppBetaVersion = true; constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

View file

@ -260,7 +260,7 @@ void AppConfig::parseColorIndices() {
return colorIndex < Ui::kColorIndexCount; return colorIndex < Ui::kColorIndexCount;
} }
}; };
constexpr auto parseColors = [](const MTPJSONObjectValue &element) { const auto parseColors = [&](const MTPJSONObjectValue &element) {
const auto &data = element.data(); const auto &data = element.data();
if (data.vvalue().type() != mtpc_jsonArray) { if (data.vvalue().type() != mtpc_jsonArray) {
LOG(("API Error: Bad value for peer_colors element.")); LOG(("API Error: Bad value for peer_colors element."));
@ -286,7 +286,7 @@ void AppConfig::parseColorIndices() {
} }
return result; return result;
}; };
constexpr auto checkColorsObjectType = [](const MTPJSONValue &value) { const auto checkColorsObjectType = [&](const MTPJSONValue &value) {
if (value.type() != mtpc_jsonObject) { if (value.type() != mtpc_jsonObject) {
if (value.type() != mtpc_jsonArray if (value.type() != mtpc_jsonArray
|| !value.c_jsonArray().vvalue().v.empty()) { || !value.c_jsonArray().vvalue().v.empty()) {

View file

@ -1,7 +1,7 @@
AppVersion 4010005 AppVersion 4011000
AppVersionStrMajor 4.10 AppVersionStrMajor 4.11
AppVersionStrSmall 4.10.5 AppVersionStrSmall 4.11
AppVersionStr 4.10.5 AppVersionStr 4.11.0
BetaChannel 1 BetaChannel 0
AlphaVersion 0 AlphaVersion 0
AppVersionOriginal 4.10.5.beta AppVersionOriginal 4.11

View file

@ -1,3 +1,18 @@
4.11 (28.10.23)
- View full statistics in your channels and group chats.
- Choose which link preview in added to the message.
- Choose if link preview is above or below the text.
- Choose if link preview has large or small image.
- Quote parts of text in replies.
- Add quote formatting.
- Reply in another chat.
- Add nice looking code blocks with syntax highlighting.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
- Change your name color in Chat Settings.
- Customize quotes, link previews and replies to your messages.
4.10.5 beta (23.10.23) 4.10.5 beta (23.10.23)
- Fix crash in replies to messages with spoilers. - Fix crash in replies to messages with spoilers.