diff --git a/lib/channel/playlist.js b/lib/channel/playlist.js index 3a38b3f4..784b9349 100644 --- a/lib/channel/playlist.js +++ b/lib/channel/playlist.js @@ -218,6 +218,9 @@ PlaylistModule.prototype.onUserPostJoin = function (user) { user.socket.on("requestPlaylist", function () { self.sendPlaylist([user]); }); + user.on("login", function () { + self.sendPlaylist([user]); + }); user.socket.on("clearPlaylist", this.handleClear.bind(this, user)); user.socket.on("shufflePlaylist", this.handleShuffle.bind(this, user)); /* User playlists */