mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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