more cleanup

This commit is contained in:
milad 2019-11-12 13:12:10 -08:00
parent 5b9b30bf35
commit 49f972714c

View file

@ -94,7 +94,7 @@ void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZon
token = answerJSONObject["token"].toString(); token = answerJSONObject["token"].toString();
projectAPIKey = answerJSONObject["projectAPIKey"].toString(); projectAPIKey = answerJSONObject["projectAPIKey"].toString();
sessionID = answerJSONObject["sessionID"].toString(); // hifi-test has Id camel-case. Change for metaverse. sessionID = answerJSONObject["sessionID"].toString();
qDebug() << "token:" << token << " projectAPIKey:" << projectAPIKey << " sessionID: " << sessionID; qDebug() << "token:" << token << " projectAPIKey:" << projectAPIKey << " sessionID: " << sessionID;
if (isPresenter) { if (isPresenter) {
@ -155,7 +155,6 @@ void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZon
return; return;
} }
qDebug() << "MN HERE! message:" << message;
QByteArray jsonByteArray = QVariant(message).toString().toUtf8(); QByteArray jsonByteArray = QVariant(message).toString().toUtf8();
QJsonDocument jsonObject = QJsonDocument::fromJson(jsonByteArray); QJsonDocument jsonObject = QJsonDocument::fromJson(jsonByteArray);