Version 5.5.3.

- Fix custom emoji sending.
- Add mention link QR code sharing.
- Fix sending files from network drives. (Windows)
This commit is contained in:
John Preston 2024-09-10 14:36:28 +04:00
parent d1d1aa3d21
commit dab107cf90
7 changed files with 25 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="5.5.2.0" /> Version="5.5.3.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 5,5,2,0 FILEVERSION 5,5,3,0
PRODUCTVERSION 5,5,2,0 PRODUCTVERSION 5,5,3,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", "5.5.2.0" VALUE "FileVersion", "5.5.3.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "5.5.2.0" VALUE "ProductVersion", "5.5.3.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 5,5,2,0 FILEVERSION 5,5,3,0
PRODUCTVERSION 5,5,2,0 PRODUCTVERSION 5,5,3,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", "5.5.2.0" VALUE "FileVersion", "5.5.3.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024" VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "5.5.2.0" VALUE "ProductVersion", "5.5.3.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 = 5005002; constexpr auto AppVersion = 5005003;
constexpr auto AppVersionStr = "5.5.2"; constexpr auto AppVersionStr = "5.5.3";
constexpr auto AppBetaVersion = false; constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

View file

@ -124,7 +124,6 @@ void Paint(
const auto gradientRotation = int(angle / 45.) * 45; const auto gradientRotation = int(angle / 45.) * 45;
const auto gradientRotationAdd = angle - gradientRotation; const auto gradientRotationAdd = angle - gradientRotation;
const auto center = QPointF(rect::center(qrRect));
auto back = Images::GenerateGradient( auto back = Images::GenerateGradient(
qrRect.size(), qrRect.size(),
backgroundColors, backgroundColors,
@ -161,7 +160,7 @@ void Paint(
} }
} }
[[nodiscard]] not_null<Ui::RpWidget*> PrepareQrWidget( not_null<Ui::RpWidget*> PrepareQrWidget(
not_null<Ui::VerticalLayout*> container, not_null<Ui::VerticalLayout*> container,
not_null<Ui::RpWidget*> topWidget, not_null<Ui::RpWidget*> topWidget,
const style::font &font, const style::font &font,
@ -412,7 +411,7 @@ void FillPeerQrBox(
const auto usernameValue = [=] { const auto usernameValue = [=] {
return (customLink || !peer) return (customLink || !peer)
? rpl::single(QString()) ? (rpl::single(QString()) | rpl::type_erased())
: Info::Profile::UsernameValue(peer, true) | rpl::map( : Info::Profile::UsernameValue(peer, true) | rpl::map(
[](const auto &username) { return username.text; }); [](const auto &username) { return username.text; });
}; };
@ -422,7 +421,7 @@ void FillPeerQrBox(
: peer : peer
? Info::Profile::LinkValue(peer, true) | rpl::map( ? Info::Profile::LinkValue(peer, true) | rpl::map(
[](const auto &link) { return link.text; }) [](const auto &link) { return link.text; })
: rpl::single(QString()); : (rpl::single(QString()) | rpl::type_erased());
}; };
const auto userpic = Ui::CreateChild<Ui::UserpicButton>( const auto userpic = Ui::CreateChild<Ui::UserpicButton>(
@ -430,7 +429,7 @@ void FillPeerQrBox(
peer ? peer : controller->session().user().get(), peer ? peer : controller->session().user().get(),
st::defaultUserpicButton); st::defaultUserpicButton);
userpic->setVisible(peer != nullptr); userpic->setVisible(peer != nullptr);
const auto qr = PrepareQrWidget( PrepareQrWidget(
box->verticalLayout(), box->verticalLayout(),
userpic, userpic,
state->font, state->font,

View file

@ -1,7 +1,7 @@
AppVersion 5005002 AppVersion 5005003
AppVersionStrMajor 5.5 AppVersionStrMajor 5.5
AppVersionStrSmall 5.5.2 AppVersionStrSmall 5.5.3
AppVersionStr 5.5.2 AppVersionStr 5.5.3
BetaChannel 0 BetaChannel 0
AlphaVersion 0 AlphaVersion 0
AppVersionOriginal 5.5.2 AppVersionOriginal 5.5.3

View file

@ -1,3 +1,9 @@
5.5.3 (10.09.24)
- Fix custom emoji sending.
- Add mention link QR code sharing.
- Fix sending files from network drives. (Windows)
5.5.2 (09.09.24) 5.5.2 (09.09.24)
- Support two bottom buttons in web apps. - Support two bottom buttons in web apps.