mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
[FSD] Send auth(entication) messages as direct messages
This commit is contained in:
committed by
Mat Sutcliffe
parent
7c7ed41f05
commit
9dbb441e44
@@ -700,14 +700,14 @@ namespace BlackCore
|
|||||||
void CFSDClient::sendAuthChallenge(const QString &challenge)
|
void CFSDClient::sendAuthChallenge(const QString &challenge)
|
||||||
{
|
{
|
||||||
const AuthChallenge pduAuthChallenge(getOwnCallsignAsString(), "SERVER", challenge);
|
const AuthChallenge pduAuthChallenge(getOwnCallsignAsString(), "SERVER", challenge);
|
||||||
sendQueudedMessage(pduAuthChallenge);
|
sendDirectMessage(pduAuthChallenge); // avoid timeouts
|
||||||
increaseStatisticsValue(QStringLiteral("sendAuthChallenge"));
|
increaseStatisticsValue(QStringLiteral("sendAuthChallenge"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void CFSDClient::sendAuthResponse(const QString &response)
|
void CFSDClient::sendAuthResponse(const QString &response)
|
||||||
{
|
{
|
||||||
const AuthResponse pduAuthResponse(getOwnCallsignAsString(), "SERVER", response);
|
const AuthResponse pduAuthResponse(getOwnCallsignAsString(), "SERVER", response);
|
||||||
sendQueudedMessage(pduAuthResponse);
|
sendDirectMessage(pduAuthResponse); // avoid timeouts
|
||||||
increaseStatisticsValue(QStringLiteral("sendAuthResponse"));
|
increaseStatisticsValue(QStringLiteral("sendAuthResponse"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user