mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[AFV] Add client version to API auth
This commit is contained in:
committed by
Klaus Basan
parent
f980fd02d5
commit
2362e25593
@@ -47,7 +47,8 @@ public:
|
||||
//! \copydoc BlackCore::Afv::Clients::CAfvClient::connectTo
|
||||
Q_INVOKABLE void connectTo(const QString &cid, const QString &password, const QString &callsign)
|
||||
{
|
||||
m_afvClient->connectTo(cid, password, callsign);
|
||||
const QString client = "swift " % BlackConfig::CBuildConfig::getShortVersionString();
|
||||
m_afvClient->connectTo(cid, password, callsign, client);
|
||||
}
|
||||
|
||||
//! \copydoc BlackCore::Afv::Clients::CAfvClient::disconnectFrom
|
||||
|
||||
Reference in New Issue
Block a user