Fix: playlist showing for guest when perm set to guest
This commit is contained in:
parent
dda5077727
commit
74e7b25877
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue