diff --git a/media/message/json.js b/media/message/json.js index 2c7c61f..ca13998 100644 --- a/media/message/json.js +++ b/media/message/json.js @@ -49,7 +49,8 @@ module.exports = Media({ if(response.body && typeof response.body.observe === "function"){ clientConnection.expectMore = true; response.body.observe(function(message){ - message.from = message.channel; + message.from = pathInfo; + message.id = request.id; clientConnection.send(message); }); }