added current channel user playing to list. fixes #106

This commit is contained in:
logsol 2015-02-22 19:30:37 +01:00
parent e452399caf
commit 3138509a57
4 changed files with 34 additions and 7 deletions

View file

@ -40,6 +40,9 @@ function (Parent, ProtocolHelper, Nc) {
}
User.prototype.onDisconnect = function () {
this.coordinator.removeUser(this);
if(!this.channelPipe) {
console.warn("Disconnecting user without a channel.");
return;