mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-05 19:28:46 +02:00
Merge 17fd6118e1 into 6e370e06d1
This commit is contained in:
commit
5318537e0a
1 changed files with 2 additions and 2 deletions
|
|
@ -1017,7 +1017,7 @@ struct ctr_state {
|
|||
|
||||
if (isHostname) {
|
||||
int32_t port = _socksPort;
|
||||
resolveSignal = [[MTDNS resolveHostnameUniversal:_socksIp port:port] map:^id(NSString *resolvedIp) {
|
||||
resolveSignal = [[MTDNS resolveHostnameNative:_socksIp port:port] map:^id(NSString *resolvedIp) {
|
||||
return [[MTTcpConnectionData alloc] initWithIp:resolvedIp port:port isSocks:true];
|
||||
}];
|
||||
} else {
|
||||
|
|
@ -1035,7 +1035,7 @@ struct ctr_state {
|
|||
|
||||
if (isHostname) {
|
||||
int32_t port = _mtpPort;
|
||||
resolveSignal = [[MTDNS resolveHostnameUniversal:_mtpIp port:port] map:^id(NSString *resolvedIp) {
|
||||
resolveSignal = [[MTDNS resolveHostnameNative:_mtpIp port:port] map:^id(NSString *resolvedIp) {
|
||||
return [[MTTcpConnectionData alloc] initWithIp:resolvedIp port:port isSocks:false];
|
||||
}];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue