From b43f582386bf1f1a416c57cdf4f4676fdb8b41ed Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 4 Dec 2015 12:46:41 +0300 Subject: [PATCH] downgraded stream version to 5_3, beta 9014002 --- Telegram/SourceFiles/config.h | 2 +- Telegram/SourceFiles/logs.cpp | 4 ++-- Telegram/Version | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/config.h b/Telegram/SourceFiles/config.h index 52f7b0581f..3863763299 100644 --- a/Telegram/SourceFiles/config.h +++ b/Telegram/SourceFiles/config.h @@ -23,7 +23,7 @@ Copyright (c) 2014-2015 John Preston, https://desktop.telegram.org static const int32 AppVersion = 9014; static const wchar_t *AppVersionStr = L"0.9.14"; static const bool DevVersion = true; -#define BETA_VERSION (9014001ULL) // just comment this line to build public version +#define BETA_VERSION (9014002ULL) // just comment this line to build public version static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)"; static const wchar_t *AppName = L"Telegram Desktop"; diff --git a/Telegram/SourceFiles/logs.cpp b/Telegram/SourceFiles/logs.cpp index 072c3de097..e13de2b27a 100644 --- a/Telegram/SourceFiles/logs.cpp +++ b/Telegram/SourceFiles/logs.cpp @@ -191,7 +191,7 @@ void logsInit() { } if (beta.open(QIODevice::WriteOnly)) { QDataStream dataStream(&beta); - dataStream.setVersion(QDataStream::Qt_5_5); + dataStream.setVersion(QDataStream::Qt_5_3); dataStream << quint64(cRealBetaVersion()) << cBetaPrivateKey(); } else { LOG(("Error: could not open \"beta\" file for writing private key!")); @@ -199,7 +199,7 @@ void logsInit() { } else if (beta.exists()) { if (beta.open(QIODevice::ReadOnly)) { QDataStream dataStream(&beta); - dataStream.setVersion(QDataStream::Qt_5_5); + dataStream.setVersion(QDataStream::Qt_5_3); quint64 v; QByteArray k; diff --git a/Telegram/Version b/Telegram/Version index df787d6d36..38617321a9 100644 --- a/Telegram/Version +++ b/Telegram/Version @@ -3,4 +3,4 @@ AppVersionStrMajor 0.9 AppVersionStrSmall 0.9.14 AppVersionStr 0.9.14 DevChannel 1 -BetaVersion 9014001 +BetaVersion 9014002