Version 2.8.10: Fix media loading.

This commit is contained in:
John Preston 2021-07-16 20:15:44 +03:00
parent e27399baa6
commit de0897343b
7 changed files with 22 additions and 18 deletions

View File

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

View File

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

View File

@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,8,9,0
PRODUCTVERSION 2,8,9,0
FILEVERSION 2,8,10,0
PRODUCTVERSION 2,8,10,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", "2.8.9.0"
VALUE "FileVersion", "2.8.10.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "2.8.9.0"
VALUE "ProductVersion", "2.8.10.0"
END
END
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 AppName = "Telegram Desktop"_cs;
constexpr auto AppFile = "Telegram"_cs;
constexpr auto AppVersion = 2008009;
constexpr auto AppVersionStr = "2.8.9";
constexpr auto AppVersion = 2008010;
constexpr auto AppVersionStr = "2.8.10";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

View File

@ -19,6 +19,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace MTP {
namespace {
constexpr auto kVersion = 2;
using namespace details;
struct BuiltInDc {
@ -437,8 +439,6 @@ QByteArray DcOptions::serialize() const {
}
}
constexpr auto kVersion = 1;
auto result = QByteArray();
result.reserve(size);
{
@ -541,7 +541,7 @@ bool DcOptions::constructFromSerialized(const QByteArray &serialized) {
}
// Read CDN config
if (!stream.atEnd()) {
if (!stream.atEnd() && version > 1) {
auto count = qint32(0);
stream >> count;
if (stream.status() != QDataStream::Ok) {

View File

@ -1,7 +1,7 @@
AppVersion 2008009
AppVersion 2008010
AppVersionStrMajor 2.8
AppVersionStrSmall 2.8.9
AppVersionStr 2.8.9
AppVersionStrSmall 2.8.10
AppVersionStr 2.8.10
BetaChannel 0
AlphaVersion 0
AppVersionOriginal 2.8.9
AppVersionOriginal 2.8.10

View File

@ -1,3 +1,7 @@
2.8.10 (16.07.21)
- Fix media loading.
2.8.9 (16.07.21)
- Fix GIF caption edit.