mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +00:00
Fix app version in sessions
This commit is contained in:
parent
edb1b4e0f6
commit
bebb6f2abf
@ -594,13 +594,13 @@ void SessionPrivate::tryToSend() {
|
|||||||
? "n/a"
|
? "n/a"
|
||||||
: _instance->systemVersion();
|
: _instance->systemVersion();
|
||||||
#if defined OS_MAC_STORE
|
#if defined OS_MAC_STORE
|
||||||
const auto appVersion = QString::fromLatin1(AppVersionStr)
|
const auto appVersion = QString::fromLatin1(AppKotatoVersionStr)
|
||||||
+ " mac store";
|
+ " mac store";
|
||||||
#elif defined OS_WIN_STORE // OS_MAC_STORE
|
#elif defined OS_WIN_STORE // OS_MAC_STORE
|
||||||
const auto appVersion = QString::fromLatin1(AppVersionStr)
|
const auto appVersion = QString::fromLatin1(AppKotatoVersionStr)
|
||||||
+ " win store";
|
+ " win store";
|
||||||
#else // OS_MAC_STORE || OS_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
|
#endif // OS_MAC_STORE || OS_WIN_STORE
|
||||||
const auto proxyType = _options->proxy.type;
|
const auto proxyType = _options->proxy.type;
|
||||||
const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);
|
const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user