mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-01 23:00:58 +00:00
Add store version label to sessions list.
This commit is contained in:
parent
18f38f0983
commit
fae4b92d8d
@ -829,6 +829,12 @@ void ConnectionPrivate::tryToSend() {
|
|||||||
const auto systemVersion = (_dcType == DcType::Cdn)
|
const auto systemVersion = (_dcType == DcType::Cdn)
|
||||||
? "n/a"
|
? "n/a"
|
||||||
: Messenger::Instance().launcher()->systemVersion();
|
: Messenger::Instance().launcher()->systemVersion();
|
||||||
|
#if defined OS_MAC_STORE || defined OS_WIN_STORE
|
||||||
|
const auto appVersion = str_const_toString(AppVersionStr)
|
||||||
|
+ " store";
|
||||||
|
#else // OS_MAC_STORE || OS_WIN_STORE
|
||||||
|
const auto appVersion = str_const_toString(AppVersionStr);
|
||||||
|
#endif // OS_MAC_STORE || OS_WIN_STORE
|
||||||
const auto proxyType = _connectionOptions->proxy.type;
|
const auto proxyType = _connectionOptions->proxy.type;
|
||||||
const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);
|
const auto mtprotoProxy = (proxyType == ProxyData::Type::Mtproto);
|
||||||
const auto clientProxyFields = mtprotoProxy
|
const auto clientProxyFields = mtprotoProxy
|
||||||
@ -842,7 +848,7 @@ void ConnectionPrivate::tryToSend() {
|
|||||||
MTP_int(ApiId),
|
MTP_int(ApiId),
|
||||||
MTP_string(deviceModel),
|
MTP_string(deviceModel),
|
||||||
MTP_string(systemVersion),
|
MTP_string(systemVersion),
|
||||||
MTP_string(str_const_toString(AppVersionStr)),
|
MTP_string(appVersion),
|
||||||
MTP_string(systemLangCode),
|
MTP_string(systemLangCode),
|
||||||
MTP_string(langPack),
|
MTP_string(langPack),
|
||||||
MTP_string(cloudLangCode),
|
MTP_string(cloudLangCode),
|
||||||
|
Loading…
Reference in New Issue
Block a user