mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Allow cdn requests through mtproto proxy.
This commit is contained in:
parent
7797e5a3b7
commit
e0431d270b
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue