mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-03 13:26:03 +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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user