added api version to init

This commit is contained in:
Dorian Zedler 2020-07-24 13:05:28 +02:00
parent 10b2f7b888
commit 150b33b483
Signed by: dorian
GPG key ID: D3B255CB8BC7CD37

View file

@ -79,7 +79,7 @@ bool ScStwClient::init() {
}
// init remote session
QJsonObject sessionParams = {{"signalSubscriptions", signalSubs}, {"init", true}, {"usingTerminationKeys", true}};
QJsonObject sessionParams = {{"apiVersion", this->API_VERSION}, {"signalSubscriptions", signalSubs}, {"init", true}, {"usingTerminationKeys", true}};
QVariantMap initResponse = this->sendCommand(1, sessionParams, 3000, false);