Trying end-video fix

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-26 19:52:37 +02:00
parent f08f63edfc
commit 4a79ae1b7d

View File

@@ -420,8 +420,6 @@ module.exports = function() {
} }
if(obj.hasOwnProperty("channel")) { if(obj.hasOwnProperty("channel")) {
obj.channel = Functions.encodeChannelName(obj.channel); obj.channel = Functions.encodeChannelName(obj.channel);
}
if(coll === undefined) {
try { try {
coll = obj.channel.toLowerCase();//.replace(/ /g,''); coll = obj.channel.toLowerCase();//.replace(/ /g,'');
if(coll.length == 0) return; if(coll.length == 0) return;
@@ -433,6 +431,7 @@ module.exports = function() {
return; return;
} }
} }
List.end(obj, coll, guid, offline, socket); List.end(obj, coll, guid, offline, socket);
}); });