From bebb6f2abf3c79c4fe72b3c7e7b68d10dbb9e55c Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Sat, 25 Jan 2020 03:24:27 +0300 Subject: [PATCH] Fix app version in sessions --- Telegram/SourceFiles/mtproto/session_private.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/mtproto/session_private.cpp b/Telegram/SourceFiles/mtproto/session_private.cpp index f71439f90..830984cf0 100644 --- a/Telegram/SourceFiles/mtproto/session_private.cpp +++ b/Telegram/SourceFiles/mtproto/session_private.cpp @@ -594,13 +594,13 @@ void SessionPrivate::tryToSend() { ? "n/a" : _instance->systemVersion(); #if defined OS_MAC_STORE - const auto appVersion = QString::fromLatin1(AppVersionStr) + const auto appVersion = QString::fromLatin1(AppKotatoVersionStr) + " mac store"; #elif defined OS_WIN_STORE // OS_MAC_STORE - const auto appVersion = QString::fromLatin1(AppVersionStr) + const auto appVersion = QString::fromLatin1(AppKotatoVersionStr) + " win store"; #else // OS_MAC_STORE || OS_WIN_STORE - const auto appVersion = QString::fromLatin1(AppVersionStr); + const auto appVersion = QString::fromLatin1(AppKotatoVersionStr); #endif // OS_MAC_STORE || OS_WIN_STORE const auto proxyType = _options->proxy.type; const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);