diff --git a/TMessagesProj/jni/tgnet/Connection.cpp b/TMessagesProj/jni/tgnet/Connection.cpp index fa53030ed..c325acde9 100644 --- a/TMessagesProj/jni/tgnet/Connection.cpp +++ b/TMessagesProj/jni/tgnet/Connection.cpp @@ -305,9 +305,7 @@ void Connection::connect() { ipv6 = value % 3 == 0 ? TcpAddressFlagIpv6 : 0; ConnectionsManager::getInstance(currentDatacenter->instanceNum).lastProtocolIsIpv6 = ipv6 != 0; } - if (connectionType == ConnectionTypeGeneric) { - ConnectionsManager::getInstance(currentDatacenter->instanceNum).lastProtocolUsefullData = false; - } + ConnectionsManager::getInstance(currentDatacenter->instanceNum).lastProtocolUsefullData = false; } else { ipv6 = 0; }