[AFV] Add client version to API auth

This commit is contained in:
Roland Rossgotterer
2019-10-16 16:22:38 +02:00
committed by Klaus Basan
parent f980fd02d5
commit 2362e25593
10 changed files with 28 additions and 12 deletions

View File

@@ -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