Added another fallback for id's being empty when chromecasting

This commit is contained in:
Kasper Rynning-Tønnesen
2018-06-05 12:49:51 +02:00
parent 87aa720ea5
commit 15112141e0

View File

@@ -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;
}