Closed alpha version 1.9.1.2.

This commit is contained in:
John Preston 2019-11-20 17:23:39 +03:00
parent e748a68153
commit 410efc924b
6 changed files with 15 additions and 15 deletions

View File

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

View File

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

View File

@ -24,8 +24,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,9,1,1
PRODUCTVERSION 1,9,1,1
FILEVERSION 1,9,1,2
PRODUCTVERSION 1,9,1,2
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -42,10 +42,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "1.9.1.1"
VALUE "FileVersion", "1.9.1.2"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.9.1.1"
VALUE "ProductVersion", "1.9.1.2"
END
END
BLOCK "VarFileInfo"

View File

@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#define TDESKTOP_REQUESTED_ALPHA_VERSION (1009001001ULL)
#define TDESKTOP_REQUESTED_ALPHA_VERSION (1009001002ULL)
#ifdef TDESKTOP_OFFICIAL_TARGET
#define TDESKTOP_ALPHA_VERSION TDESKTOP_REQUESTED_ALPHA_VERSION

View File

@ -1315,7 +1315,6 @@ void ConnectionPrivate::handleReceived() {
}
const auto serverTime = int32(msgId >> 32);
const auto clientTime = base::unixtime::now();
const auto isReply = ((msgId & 0x03) == 1);
if (!isReply && ((msgId & 0x03) != 3)) {
LOG(("MTP Error: bad msg_id %1 in message received").arg(msgId));
@ -1323,10 +1322,11 @@ void ConnectionPrivate::handleReceived() {
return restart();
}
bool badTime = false;
if (serverTime > clientTime + 60 || serverTime + 300 < clientTime) {
const auto clientTime = base::unixtime::now();
const auto badTime = (serverTime > clientTime + 60)
|| (serverTime + 300 < clientTime);
if (badTime) {
DEBUG_LOG(("MTP Info: bad server time from msg_id: %1, my time: %2").arg(serverTime).arg(clientTime));
badTime = true;
}
bool wasConnected = (getState() == ConnectedState);

View File

@ -3,4 +3,4 @@ AppVersionStrMajor 1.9
AppVersionStrSmall 1.9.1
AppVersionStr 1.9.1
BetaChannel 0
AlphaVersion 1009001001
AlphaVersion 1009001002