Uncommented a feature

This commit is contained in:
Kasper Rynning-Tønnesen
2018-06-05 10:24:09 +02:00
parent 394b73e5d0
commit 4e77585a27
2 changed files with 5 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ module.exports = function() {
} catch(e) {
socket.cookie_id = "empty";
}
console.log("socket.cookie_id at start", socket.cookie_id);
socket.zoff_id = socket.id;
socket.emit("get_list");
@@ -95,9 +96,9 @@ module.exports = function() {
if(coll.indexOf("?") > -1){
coll = coll.substring(0, coll.indexOf("?"));
}
Functions.setChromecastHost(socket.cookie_id, msg.guid, msg.channel, function(results) {
/*Functions.setChromecastHost(socket.cookie_id, msg.guid, msg.channel, function(results) {
console.log("setChromecastHost: ", results);
});
});*/
socket.cookie_id = msg.guid;
guid = msg.guid;
socketid = msg.socket_id;