diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-04 14:02:58 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-04 14:02:58 +0300 |
commit | 88ee57c70e0b45fe1e418d46db51f55415ce0c85 (patch) | |
tree | 53e5650821852a04317d5604b10573240a30fa8c | |
parent | 7d7be5ebc3e23ccbe9338b86d662bb3f0c7b4fac (diff) |
fixes #4772 (Telegram: добавить возможность подключаться к тестовому серверу)
-rw-r--r-- | protocols/Telegram/src/auth.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Telegram/src/auth.cpp b/protocols/Telegram/src/auth.cpp index 0d757d13fe..b23e5a4c20 100644 --- a/protocols/Telegram/src/auth.cpp +++ b/protocols/Telegram/src/auth.cpp @@ -111,6 +111,7 @@ void CTelegramProto::ProcessAuth(TD::updateAuthorizationState *pObj) request->database_directory_ = T2Utf(wszPath).get();
request->use_message_database_ = false;
request->use_secret_chats_ = true;
+ request->use_test_dc_ = getBool("UseTestServer"); // Hidden setting
request->api_id_ = MIRANDA_API_ID;
request->api_hash_ = MIRANDA_API_HASH;
request->system_language_code_ = Langpack_GetDefaultLocaleName();
|