From 83e499d96cea528e3c409c125e84cd20a1aafe85 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Sat, 28 Sep 2019 16:43:06 +0300 Subject: [PATCH] Show correct version in active sessions list --- Telegram/SourceFiles/mtproto/connection.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/mtproto/connection.cpp b/Telegram/SourceFiles/mtproto/connection.cpp index a5a7cdd33..2ab74ede4 100644 --- a/Telegram/SourceFiles/mtproto/connection.cpp +++ b/Telegram/SourceFiles/mtproto/connection.cpp @@ -855,13 +855,13 @@ void ConnectionPrivate::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 = _connectionOptions->proxy.type; const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);