Closed beta 1.2.8.3.

This commit is contained in:
John Preston 2018-02-03 23:26:39 +03:00
parent 269defa82d
commit b8614c60f9
8 changed files with 17 additions and 16 deletions

View File

@ -9,7 +9,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="1.2.8.2" /> Version="1.2.8.3" />
<Properties> <Properties>
<DisplayName>Telegram Desktop</DisplayName> <DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName> <PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View File

@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,2,8,2 FILEVERSION 1,2,8,3
PRODUCTVERSION 1,2,8,2 PRODUCTVERSION 1,2,8,3
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -52,10 +52,10 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Telegram Messenger LLP" VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop" VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "1.2.8.2" VALUE "FileVersion", "1.2.8.3"
VALUE "LegalCopyright", "Copyright (C) 2014-2018" VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.2.8.2" VALUE "ProductVersion", "1.2.8.3"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,2,8,2 FILEVERSION 1,2,8,3
PRODUCTVERSION 1,2,8,2 PRODUCTVERSION 1,2,8,3
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -43,10 +43,10 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Telegram Messenger LLP" VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop Updater" VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "1.2.8.2" VALUE "FileVersion", "1.2.8.3"
VALUE "LegalCopyright", "Copyright (C) 2014-2018" VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.2.8.2" VALUE "ProductVersion", "1.2.8.3"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@ -3799,7 +3799,10 @@ void ApiWrap::readFeeds() {
auto delay = kFeedReadTimeout; auto delay = kFeedReadTimeout;
const auto now = getms(true); const auto now = getms(true);
for (auto i = begin(_feedReadsDelayed); i != end(_feedReadsDelayed);) { for (auto i = begin(_feedReadsDelayed); i != end(_feedReadsDelayed);) {
const auto [feed, time] = *i; const auto feed = i->first;
const auto time = i->second;
// Clang fails to capture structure-binded feed to lambda :(
//const auto [feed, time] = *i;
if (time > now) { if (time > now) {
accumulate_min(delay, time - now); accumulate_min(delay, time - now);
++i; ++i;

View File

@ -9,7 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/utils.h" #include "core/utils.h"
#define BETA_VERSION_MACRO (1002008002ULL) #define BETA_VERSION_MACRO (1002008003ULL)
constexpr int AppVersion = 1002008; constexpr int AppVersion = 1002008;
constexpr str_const AppVersionStr = "1.2.8"; constexpr str_const AppVersionStr = "1.2.8";

View File

@ -521,8 +521,6 @@ private:
Ui::SendActionAnimation _sendActionAnimation; Ui::SendActionAnimation _sendActionAnimation;
QMap<SendAction::Type, TimeMs> _mySendActions; QMap<SendAction::Type, TimeMs> _mySendActions;
int _pinnedIndex = 0; // > 0 for pinned dialogs
std::weak_ptr<AdminLog::LocalIdManager> _adminLogIdManager; std::weak_ptr<AdminLog::LocalIdManager> _adminLogIdManager;
}; };

View File

@ -78,10 +78,10 @@ HistoryItem::HistoryItem(
TimeId date, TimeId date,
UserId from) UserId from)
: id(id) : id(id)
, _date(date)
, _history(history) , _history(history)
, _from(from ? App::user(from) : history->peer) , _from(from ? App::user(from) : history->peer)
, _flags(flags) { , _flags(flags)
, _date(date) {
App::historyRegItem(this); App::historyRegItem(this);
} }

View File

@ -3,4 +3,4 @@ AppVersionStrMajor 1.2
AppVersionStrSmall 1.2.8 AppVersionStrSmall 1.2.8
AppVersionStr 1.2.8 AppVersionStr 1.2.8
AlphaChannel 0 AlphaChannel 0
BetaVersion 1002008002 BetaVersion 1002008003