From 88ee57c70e0b45fe1e418d46db51f55415ce0c85 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 Nov 2024 14:02:58 +0300 Subject: =?UTF-8?q?fixes=20#4772=20(Telegram:=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6?= =?UTF-8?q?=D0=BD=D0=BE=D1=81=D1=82=D1=8C=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB?= =?UTF-8?q?=D1=8E=D1=87=D0=B0=D1=82=D1=8C=D1=81=D1=8F=20=D0=BA=20=D1=82?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=BE=D0=B2=D0=BE=D0=BC=D1=83=20=D1=81=D0=B5?= =?UTF-8?q?=D1=80=D0=B2=D0=B5=D1=80=D1=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Telegram/src/auth.cpp | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v1.2.3