Don't send client update as Client.Set response

This commit is contained in:
badaix 2016-01-07 20:12:22 +01:00
parent 86f766721d
commit 506f179ed2
3 changed files with 7 additions and 4 deletions

View file

@ -196,7 +196,7 @@ void StreamServer::onMessageReceived(ControlSession* controlSession, const std::
Config::instance().save();
json notification = JsonNotification::getJson("Client.OnUpdate", clientInfo->toJson());
controlServer_->send(notification.dump());
controlServer_->send(notification.dump(), controlSession);
}
controlSession->send(request.getResponse(response).dump());