From b70526db4d1a6f70a0a6082638c8b73eeb070320 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sat, 12 Oct 2013 19:46:39 -0500 Subject: [PATCH] Fix video deletes --- changelog | 2 +- lib/user.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/changelog b/changelog index 4a0dc827..cd5cda16 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,5 @@ Sat Oct 12 19:43 2013 CDT - * lib/user.js: Fix jumpTo kick bug + * lib/user.js: Fix jumpTo kick bug (and delete) * lib/api.js: Fix unloaded channel API listing bug Sat Oct 12 19:02 2013 CDT diff --git a/lib/user.js b/lib/user.js index b7ce9e5c..c6e5a041 100644 --- a/lib/user.js +++ b/lib/user.js @@ -264,7 +264,6 @@ User.prototype.initCallbacks = function () { }); self.socket.on("delete", function (data) { - data = (typeof data !== "object") ? {} : data; if (self.inChannel()) { self.channel.tryDequeue(self, data); }