mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Allow cdn requests through mtproto proxy.
This commit is contained in:
@@ -1082,8 +1082,7 @@ void ConnectionPrivate::connectToServer(bool afterConfig) {
|
||||
}
|
||||
|
||||
destroyAllConnections();
|
||||
if (_connectionOptions->proxy.type == ProxyData::Type::Mtproto
|
||||
&& _dcType != DcType::Cdn) {
|
||||
if (_connectionOptions->proxy.type == ProxyData::Type::Mtproto) {
|
||||
appendTestConnection(
|
||||
DcOptions::Variants::Tcp,
|
||||
_connectionOptions->proxy.host,
|
||||
|
Reference in New Issue
Block a user