Allow cdn requests through mtproto proxy.

This commit is contained in:
John Preston 2018-05-05 15:14:17 +03:00
parent 7797e5a3b7
commit e0431d270b
1 changed files with 1 additions and 2 deletions

View File

@ -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,