2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Alpha version 1.2.25.

- Apply markdown formatting (```, `, **, __)
only when sending the message.
- Display connection quality bars in calls.
- Telegram Desktop can update itself through MTProto.
- Bug fixes and other minor improvements.
This commit is contained in:
John Preston
2018-05-31 21:37:15 +03:00
parent 7db7c05da8
commit ad12d6cc46
9 changed files with 40 additions and 24 deletions

View File

@@ -100,6 +100,17 @@ std::map<int, const char*> AlphaLogs() {
1002024,
"\xE2\x80\x94 Add links with custom text from context menu "
"or by Ctrl/Cmd + K keyboard shortcut."
},
{
1002025,
"\xE2\x80\x94 Apply markdown formatting (```, `, **, __) "
"only when sending the message.\n"
"\xE2\x80\x94 Display connection quality bars in calls.\n"
"\xE2\x80\x94 Telegram Desktop can update itself through MTProto.\n"
"\xE2\x80\x94 Bug fixes and other minor improvements."
}
};
}

View File

@@ -1741,8 +1741,8 @@ void Updater::start(bool forceWait) {
}
_retryTimer.cancel();
const auto constDelay = cBetaVersion() ? 60 : UpdateDelayConstPart;
const auto randDelay = cBetaVersion() ? 30 : UpdateDelayRandPart;
const auto constDelay = cBetaVersion() ? 600 : UpdateDelayConstPart;
const auto randDelay = cBetaVersion() ? 300 : UpdateDelayRandPart;
const auto updateInSecs = cLastUpdateCheck()
+ constDelay
+ int(rand() % randDelay)
@@ -1765,9 +1765,7 @@ void Updater::start(bool forceWait) {
std::make_unique<HttpChecker>(_testing));
startImplementation(
&_mtpImplementation,
(cBetaVersion()
? std::make_unique<MtpChecker>(_mtproto, _testing)
: nullptr));
std::make_unique<MtpChecker>(_mtproto, _testing));
_checking.fire({});
} else {

View File

@@ -9,9 +9,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/utils.h"
#define BETA_VERSION_MACRO (1002024001ULL)
#define BETA_VERSION_MACRO (0ULL)
constexpr int AppVersion = 1002024;
constexpr str_const AppVersionStr = "1.2.24";
constexpr bool AppAlphaVersion = false;
constexpr int AppVersion = 1002025;
constexpr str_const AppVersionStr = "1.2.25";
constexpr bool AppAlphaVersion = true;
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;