2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-28 21:27:53 +00:00

Fix app version in sessions

This commit is contained in:
RadRussianRus 2020-01-25 03:24:27 +03:00
parent edb1b4e0f6
commit bebb6f2abf

View File

@ -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);