From 38f7ccc06b69911d00eb4de9f4ae82de1525b197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 5 Jun 2018 12:49:51 +0200 Subject: [PATCH] Added another fallback for id's being empty when chromecasting --- server/handlers/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handlers/functions.js b/server/handlers/functions.js index 52ab33bc..3bff5e14 100644 --- a/server/handlers/functions.js +++ b/server/handlers/functions.js @@ -256,7 +256,7 @@ function getSessionChatPass(id, callback) { function setChromecastHost(id, other_id, list, callback) { try { - if(id == "empty" || id == undefined) { + if(id == "empty" || id == undefined || other_id == "empty" || other_id == undefined) { callback(); return; }