diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index 30a22ad8a..0c090148d 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -9,7 +9,7 @@
+ Version="1.0.17.1" />
Telegram Desktop
Telegram Messenger LLP
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index ff58b7f93..200819f67 100644
--- a/Telegram/Resources/winrc/Telegram.rc
+++ b/Telegram/Resources/winrc/Telegram.rc
@@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,0,17,0
- PRODUCTVERSION 1,0,17,0
+ FILEVERSION 1,0,17,1
+ PRODUCTVERSION 1,0,17,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.17.0"
+ VALUE "FileVersion", "1.0.17.1"
VALUE "LegalCopyright", "Copyright (C) 2014-2017"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "1.0.17.0"
+ VALUE "ProductVersion", "1.0.17.1"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index 38b2fc1c3..3c755351e 100644
--- a/Telegram/Resources/winrc/Updater.rc
+++ b/Telegram/Resources/winrc/Updater.rc
@@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,0,17,0
- PRODUCTVERSION 1,0,17,0
+ FILEVERSION 1,0,17,1
+ PRODUCTVERSION 1,0,17,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.17.0"
+ VALUE "FileVersion", "1.0.17.1"
VALUE "LegalCopyright", "Copyright (C) 2014-2017"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "1.0.17.0"
+ VALUE "ProductVersion", "1.0.17.1"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index f4054277c..a83ebdb4f 100644
--- a/Telegram/SourceFiles/core/version.h
+++ b/Telegram/SourceFiles/core/version.h
@@ -22,9 +22,9 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "core/utils.h"
-#define BETA_VERSION_MACRO (0ULL)
+#define BETA_VERSION_MACRO (1000017001ULL)
constexpr int AppVersion = 1000017;
constexpr str_const AppVersionStr = "1.0.17";
-constexpr bool AppAlphaVersion = true;
+constexpr bool AppAlphaVersion = false;
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;
diff --git a/Telegram/SourceFiles/messenger.cpp b/Telegram/SourceFiles/messenger.cpp
index 0b1813ef5..74703bb74 100644
--- a/Telegram/SourceFiles/messenger.cpp
+++ b/Telegram/SourceFiles/messenger.cpp
@@ -318,7 +318,7 @@ void Messenger::destroyStaleAuthorizationKeys() {
auto keys = _mtproto->getKeysForWrite();
for (auto &key : keys) {
// Disable this for now.
- if (false && key->type() == MTP::AuthKey::Type::ReadFromFile) {
+ if (key->type() == MTP::AuthKey::Type::ReadFromFile) {
_private->mtpKeysToDestroy = _mtproto->getKeysForWrite();
_mtproto.reset();
LOG(("MTP Info: destroying stale keys, count: %1").arg(_private->mtpKeysToDestroy.size()));
diff --git a/Telegram/build/version b/Telegram/build/version
index 865b7fbfd..79ea8fe3d 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -2,5 +2,5 @@ AppVersion 1000017
AppVersionStrMajor 1.0
AppVersionStrSmall 1.0.17
AppVersionStr 1.0.17
-AlphaChannel 1
-BetaVersion 0
+AlphaChannel 0
+BetaVersion 1000017001