2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 14:17:45 +00:00

Show correct version in active sessions list

This commit is contained in:
RadRussianRus 2019-09-28 16:43:06 +03:00
parent bbc19fcb44
commit 83e499d96c

View File

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