From 3d38abce97c6e9b98c2380f8e18854023c6cf53d Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 3 Jun 2019 13:54:25 +0300 Subject: [PATCH] Differentiate Windows Store and Mac Store. --- Telegram/SourceFiles/mtproto/connection.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/mtproto/connection.cpp b/Telegram/SourceFiles/mtproto/connection.cpp index 579712991..b589d1dbd 100644 --- a/Telegram/SourceFiles/mtproto/connection.cpp +++ b/Telegram/SourceFiles/mtproto/connection.cpp @@ -828,9 +828,12 @@ void ConnectionPrivate::tryToSend() { const auto systemVersion = (_dcType == DcType::Cdn) ? "n/a" : _instance->systemVersion(); -#if defined OS_MAC_STORE || defined OS_WIN_STORE +#if defined OS_MAC_STORE const auto appVersion = QString::fromLatin1(AppVersionStr) - + " store"; + + " mac store"; +#elif defined OS_WIN_STORE // OS_MAC_STORE + const auto appVersion = QString::fromLatin1(AppVersionStr) + + " win store"; #else // OS_MAC_STORE || OS_WIN_STORE const auto appVersion = QString::fromLatin1(AppVersionStr); #endif // OS_MAC_STORE || OS_WIN_STORE