mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Update API scheme to layer 78.
This commit is contained in:
@@ -362,7 +362,8 @@ void ConnectionPrivate::appendTestConnection(
|
||||
QWriteLocker lock(&stateConnMutex);
|
||||
|
||||
const auto priority = (qthelp::is_ipv6(ip) ? 0 : 1)
|
||||
+ (protocol == DcOptions::Variants::Tcp ? 1 : 0);
|
||||
+ (protocol == DcOptions::Variants::Tcp ? 1 : 0)
|
||||
+ (protocolSecret.empty() ? 0 : 1);
|
||||
_testConnections.push_back({
|
||||
AbstractConnection::create(protocol, thread()),
|
||||
priority
|
||||
|
Reference in New Issue
Block a user