diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index 5833283e0..313287557 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -10,7 +10,7 @@
+ Version="5.5.3.0" />
Telegram Desktop
Telegram Messenger LLP
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index 469e9ab75..238b85155 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,5,2,0
- PRODUCTVERSION 5,5,2,0
+ FILEVERSION 5,5,3,0
+ PRODUCTVERSION 5,5,3,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.5.2.0"
+ VALUE "FileVersion", "5.5.3.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "5.5.2.0"
+ VALUE "ProductVersion", "5.5.3.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index 4385ced81..9869eedf3 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,5,2,0
- PRODUCTVERSION 5,5,2,0
+ FILEVERSION 5,5,3,0
+ PRODUCTVERSION 5,5,3,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.5.2.0"
+ VALUE "FileVersion", "5.5.3.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "5.5.2.0"
+ VALUE "ProductVersion", "5.5.3.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index 6ee057f98..f6865881e 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 = 5005002;
-constexpr auto AppVersionStr = "5.5.2";
+constexpr auto AppVersion = 5005003;
+constexpr auto AppVersionStr = "5.5.3";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
diff --git a/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp b/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp
index d08093de5..d35929871 100644
--- a/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp
+++ b/Telegram/SourceFiles/ui/boxes/peer_qr_box.cpp
@@ -124,7 +124,6 @@ void Paint(
const auto gradientRotation = int(angle / 45.) * 45;
const auto gradientRotationAdd = angle - gradientRotation;
- const auto center = QPointF(rect::center(qrRect));
auto back = Images::GenerateGradient(
qrRect.size(),
backgroundColors,
@@ -161,7 +160,7 @@ void Paint(
}
}
-[[nodiscard]] not_null PrepareQrWidget(
+not_null PrepareQrWidget(
not_null container,
not_null topWidget,
const style::font &font,
@@ -412,7 +411,7 @@ void FillPeerQrBox(
const auto usernameValue = [=] {
return (customLink || !peer)
- ? rpl::single(QString())
+ ? (rpl::single(QString()) | rpl::type_erased())
: Info::Profile::UsernameValue(peer, true) | rpl::map(
[](const auto &username) { return username.text; });
};
@@ -422,7 +421,7 @@ void FillPeerQrBox(
: peer
? Info::Profile::LinkValue(peer, true) | rpl::map(
[](const auto &link) { return link.text; })
- : rpl::single(QString());
+ : (rpl::single(QString()) | rpl::type_erased());
};
const auto userpic = Ui::CreateChild(
@@ -430,7 +429,7 @@ void FillPeerQrBox(
peer ? peer : controller->session().user().get(),
st::defaultUserpicButton);
userpic->setVisible(peer != nullptr);
- const auto qr = PrepareQrWidget(
+ PrepareQrWidget(
box->verticalLayout(),
userpic,
state->font,
diff --git a/Telegram/build/version b/Telegram/build/version
index 3caaa4a80..bc6ebdab7 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,7 +1,7 @@
-AppVersion 5005002
+AppVersion 5005003
AppVersionStrMajor 5.5
-AppVersionStrSmall 5.5.2
-AppVersionStr 5.5.2
+AppVersionStrSmall 5.5.3
+AppVersionStr 5.5.3
BetaChannel 0
AlphaVersion 0
-AppVersionOriginal 5.5.2
+AppVersionOriginal 5.5.3
diff --git a/changelog.txt b/changelog.txt
index 39519fa67..c5814f7a5 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -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)
- Support two bottom buttons in web apps.