[FSD] Send auth(entication) messages as direct messages

This commit is contained in:
Klaus Basan
2019-11-23 23:22:59 +01:00
committed by Mat Sutcliffe
parent 7c7ed41f05
commit 9dbb441e44

View File

@@ -700,14 +700,14 @@ namespace BlackCore
void CFSDClient::sendAuthChallenge(const QString &challenge)
{
const AuthChallenge pduAuthChallenge(getOwnCallsignAsString(), "SERVER", challenge);
sendQueudedMessage(pduAuthChallenge);
sendDirectMessage(pduAuthChallenge); // avoid timeouts
increaseStatisticsValue(QStringLiteral("sendAuthChallenge"));
}
void CFSDClient::sendAuthResponse(const QString &response)
{
const AuthResponse pduAuthResponse(getOwnCallsignAsString(), "SERVER", response);
sendQueudedMessage(pduAuthResponse);
sendDirectMessage(pduAuthResponse); // avoid timeouts
increaseStatisticsValue(QStringLiteral("sendAuthResponse"));
}