2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update API scheme.

This commit is contained in:
John Preston
2018-08-20 14:31:40 +03:00
parent 34eb834d94
commit 5b88f4d3d2
10 changed files with 80 additions and 20 deletions

View File

@@ -817,7 +817,7 @@ void ConnectionPrivate::tryToSend() {
Assert(_connectionOptions != nullptr);
const auto systemLangCode = _connectionOptions->systemLangCode;
const auto cloudLangCode = _connectionOptions->cloudLangCode;
const auto langPack = "tdesktop";
const auto langPackName = _connectionOptions->langPackName;
const auto deviceModel = (_dcType == DcType::Cdn)
? "n/a"
: Messenger::Instance().launcher()->deviceModel();
@@ -845,7 +845,7 @@ void ConnectionPrivate::tryToSend() {
MTP_string(systemVersion),
MTP_string(appVersion),
MTP_string(systemLangCode),
MTP_string(langPack),
MTP_string(langPackName),
MTP_string(cloudLangCode),
clientProxyFields,
SecureRequest());