mirror of https://github.com/procxx/kepka.git
Allow cdn requests through mtproto proxy.
This commit is contained in:
parent
7797e5a3b7
commit
e0431d270b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue