mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +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)
|
||||
{
|
||||
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"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user