2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Closed alpha version 1.4.0.1.

This commit is contained in:
John Preston
2018-10-05 20:09:18 +03:00
parent eaa50adf75
commit cf338e669a
6 changed files with 12 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/utils.h"
#define ALPHA_VERSION_MACRO (0ULL)
#define ALPHA_VERSION_MACRO (1004000001ULL)
constexpr int AppVersion = 1004000;
constexpr str_const AppVersionStr = "1.4";

View File

@@ -12,7 +12,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
namespace Support {
bool ValidateAccount(const MTPUser &self) {
return true; AssertIsDebug();
//return true; AssertIsDebug();
return self.match([](const MTPDuser &data) {
return data.has_phone() && qs(data.vphone).startsWith(qstr("424"));
}, [](const MTPDuserEmpty &data) {