mirror of https://github.com/procxx/kepka.git
Closed beta 1000014001: testing MTP changes.
Destroying of the authorization keys disabled for now.
This commit is contained in:
parent
7d89b54d1c
commit
6b70cc342a
|
@ -9,7 +9,7 @@
|
|||
<Identity Name="TelegramDesktop"
|
||||
ProcessorArchitecture="x64"
|
||||
Publisher="CN=Telegram Messenger LLP, O=Telegram Messenger LLP, L=London, C=GB"
|
||||
Version="1.0.14.0" />
|
||||
Version="1.0.14.1" />
|
||||
<Properties>
|
||||
<DisplayName>Telegram Desktop</DisplayName>
|
||||
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
||||
|
|
|
@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
|||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,0,14,0
|
||||
PRODUCTVERSION 1,0,14,0
|
||||
FILEVERSION 1,0,14,1
|
||||
PRODUCTVERSION 1,0,14,1
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
|
@ -52,10 +52,10 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "Telegram Messenger LLP"
|
||||
VALUE "FileDescription", "Telegram Desktop"
|
||||
VALUE "FileVersion", "1.0.14.0"
|
||||
VALUE "FileVersion", "1.0.14.1"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2017"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "1.0.14.0"
|
||||
VALUE "ProductVersion", "1.0.14.1"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
|
@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,0,14,0
|
||||
PRODUCTVERSION 1,0,14,0
|
||||
FILEVERSION 1,0,14,1
|
||||
PRODUCTVERSION 1,0,14,1
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
|
@ -43,10 +43,10 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "Telegram Messenger LLP"
|
||||
VALUE "FileDescription", "Telegram Desktop Updater"
|
||||
VALUE "FileVersion", "1.0.14.0"
|
||||
VALUE "FileVersion", "1.0.14.1"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2017"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "1.0.14.0"
|
||||
VALUE "ProductVersion", "1.0.14.1"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
|
@ -22,7 +22,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
|||
|
||||
#include "core/utils.h"
|
||||
|
||||
#define BETA_VERSION_MACRO (0ULL)
|
||||
#define BETA_VERSION_MACRO (1000014001ULL)
|
||||
|
||||
constexpr int AppVersion = 1000014;
|
||||
constexpr str_const AppVersionStr = "1.0.14";
|
||||
|
|
|
@ -318,7 +318,8 @@ void Messenger::destroyStaleAuthorizationKeys() {
|
|||
|
||||
auto keys = _mtproto->getKeysForWrite();
|
||||
for (auto &key : keys) {
|
||||
if (key->type() == MTP::AuthKey::Type::ReadFromFile) {
|
||||
// Disable this for now.
|
||||
if (false && key->type() == MTP::AuthKey::Type::ReadFromFile) {
|
||||
_private->mtpKeysToDestroy = _mtproto->getKeysForWrite();
|
||||
_mtproto.reset();
|
||||
LOG(("MTP Info: destroying stale keys, count: %1").arg(_private->mtpKeysToDestroy.size()));
|
||||
|
|
|
@ -3,4 +3,4 @@ AppVersionStrMajor 1.0
|
|||
AppVersionStrSmall 1.0.14
|
||||
AppVersionStr 1.0.14
|
||||
AlphaChannel 0
|
||||
BetaVersion 0
|
||||
BetaVersion 1000014001
|
||||
|
|
Loading…
Reference in New Issue