diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-24 12:16:42 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-24 12:16:47 +0300 |
commit | bbbc9a25e43656c9a8d6a7a310e4fd69617c9d41 (patch) | |
tree | a9352a4d53109b880b79bd60dcba12ac5350bd8d /protocols | |
parent | 3b04426eafa69722f2ef95eca031b15c3b462346 (diff) |
fixes #3958 (Telegram: сообщение о новом входе приходят на английском)
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Telegram/src/auth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/auth.cpp b/protocols/Telegram/src/auth.cpp index 53aa8d5c82..a00ff42b7c 100644 --- a/protocols/Telegram/src/auth.cpp +++ b/protocols/Telegram/src/auth.cpp @@ -113,7 +113,7 @@ void CTelegramProto::ProcessAuth(TD::updateAuthorizationState *pObj) request->use_secret_chats_ = true;
request->api_id_ = MIRANDA_API_ID;
request->api_hash_ = MIRANDA_API_HASH;
- request->system_language_code_ = "en";
+ request->system_language_code_ = Langpack_GetDefaultLocaleName();
request->device_model_ = T2Utf(m_wszDeviceName).get();
request->application_version_ = text;
request->enable_storage_optimizer_ = true;
|