Skip to content

Commit

Permalink
v5.2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kukuruzka165 committed Jul 27, 2024
1 parent e957637 commit 6c887f9
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 17 deletions.
8 changes: 4 additions & 4 deletions Telegram/Resources/winrc/Telegram.rc
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 5,2,1,1
PRODUCTVERSION 5,2,1,1
FILEVERSION 5,2,5,1
PRODUCTVERSION 5,2,5,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -62,10 +62,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "kukuruzka"
VALUE "FileDescription", "materialgram"
VALUE "FileVersion", "5.2.1.1"
VALUE "FileVersion", "5.2.5.1"
VALUE "LegalCopyright", "github.com/kukuruzka165/materialgram"
VALUE "ProductName", "materialgram"
VALUE "ProductVersion", "5.2.1.1"
VALUE "ProductVersion", "5.2.5.1"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions Telegram/Resources/winrc/Updater.rc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 5,2,1,1
PRODUCTVERSION 5,2,1,1
FILEVERSION 5,2,5,1
PRODUCTVERSION 5,2,5,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -53,10 +53,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "kukuruzka"
VALUE "FileDescription", "materialgram Updater"
VALUE "FileVersion", "5.2.1.1"
VALUE "FileVersion", "5.2.5.1"
VALUE "LegalCopyright", "github.com/kukuruzka165/materialgram"
VALUE "ProductName", "materialgram"
VALUE "ProductVersion", "5.2.1.1"
VALUE "ProductVersion", "5.2.5.1"
END
END
BLOCK "VarFileInfo"
Expand Down
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/core/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ constexpr auto AppId = "{6354A46F-7CE5-4CF7-A9FA-9A3542AD9A6B}"_cs;
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
constexpr auto AppName = "materialgram"_cs;
constexpr auto AppFile = "materialgram"_cs;
constexpr auto AppVersion = 500200101;
constexpr auto AppVersionStr = "5.2.1.1";
constexpr auto AppVersion = 500200501;
constexpr auto AppVersionStr = "5.2.5.1";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
6 changes: 3 additions & 3 deletions Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ void WebViewInstance::requestButton() {
MTP_bytes(_button.url),
MTP_string(_button.startCommand),
MTP_dataJSON(MTP_bytes(botThemeParams().json)),
MTP_string("tdesktop"),
MTP_string("android"),
action.mtpReplyTo(),
(action.options.sendAs
? action.options.sendAs->input
Expand Down Expand Up @@ -859,7 +859,7 @@ void WebViewInstance::requestSimple() {
MTP_bytes(_button.url),
MTP_string(_button.startCommand),
MTP_dataJSON(MTP_bytes(botThemeParams().json)),
MTP_string("tdesktop")
MTP_string("android")
)).done([=](const MTPWebViewResult &result) {
show(qs(result.data().vurl()));
}).fail([=](const MTP::Error &error) {
Expand All @@ -883,7 +883,7 @@ void WebViewInstance::requestApp(bool allowWrite) {
MTP_inputBotAppID(MTP_long(app->id), MTP_long(app->accessHash)),
MTP_string(_appStartParam),
MTP_dataJSON(MTP_bytes(botThemeParams().json)),
MTP_string("tdesktop")
MTP_string("android")
)).done([=](const MTPWebViewResult &result) {
_requestId = 0;
show(qs(result.data().vurl()));
Expand Down
8 changes: 4 additions & 4 deletions Telegram/build/version
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AppVersion 500200101
AppVersion 500200501
AppVersionStrMajor 5.2
AppVersionStrSmall 5.2.1.1
AppVersionStr 5.2.1.1
AppVersionStrSmall 5.2.5.1
AppVersionStr 5.2.5.1
BetaChannel 0
AlphaVersion 0
AppVersionOriginal 5.2.1.1
AppVersionOriginal 5.2.5.1
10 changes: 10 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
5.2.5.1 (27.07.24)

- Fix media viewer context menu.
- Fix blockquotes layout in messages.
- Allow opening several web apps.
- Send location marks and venues.
- Fix crash in bot star stats page.
- Fix topics search in topic groups.
- Fix Instant View pages content updating.

5.2.1.1 (01.07.24)

- Show data center for groups and channels
Expand Down

0 comments on commit 6c887f9

Please sign in to comment.