Ignore residual "connection denied" packets from previous domain

This commit is contained in:
David Rowe 2020-08-20 17:12:57 +12:00
parent 662b2bfc5e
commit 6926cd205a

View file

@ -529,6 +529,12 @@ bool DomainHandler::reasonSuggestsDomainLogin(ConnectionRefusedReason reasonCode
}
void DomainHandler::processDomainServerConnectionDeniedPacket(QSharedPointer<ReceivedMessage> message) {
// Ignore any residual packets from previous domain.
if (message->getSenderSockAddr().getAddress().toString() != _domainURL.host()) {
return;
}
// we're hearing from this domain-server, don't need to refresh API info
_apiRefreshTimer.stop();