mirror of
https://github.com/lubosz/overte.git
synced 2025-04-17 17:26:11 +02:00
Change sense of DomainHandler::checkInPacketTimeout() return value
This commit is contained in:
parent
b63515f42a
commit
33ae04f9ea
2 changed files with 3 additions and 3 deletions
|
@ -483,8 +483,8 @@ bool DomainHandler::checkInPacketTimeout() {
|
|||
// so emit our signal that says that
|
||||
qCDebug(networking) << "Limit of silent domain checkins reached";
|
||||
emit limitOfSilentDomainCheckInsReached();
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -306,7 +306,7 @@ void NodeList::sendDomainServerCheckIn() {
|
|||
qCDebug(networking) << "Waiting for ICE discovered domain-server socket. Will not send domain-server check in.";
|
||||
handleICEConnectionToDomainServer();
|
||||
// let the domain handler know we are due to send a checkin packet
|
||||
} else if (!_domainHandler.getIP().isNull() && _domainHandler.checkInPacketTimeout()) {
|
||||
} else if (!_domainHandler.getIP().isNull() && !_domainHandler.checkInPacketTimeout()) {
|
||||
|
||||
PacketType domainPacketType = !_domainHandler.isConnected()
|
||||
? PacketType::DomainConnectRequest : PacketType::DomainListRequest;
|
||||
|
|
Loading…
Reference in a new issue