mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added lobby, nickname fixes #44, channel name
This commit is contained in:
parent
aa4535cb0c
commit
da913c4709
10 changed files with 285 additions and 68 deletions
|
|
@ -92,6 +92,16 @@ function (User, Channel, PipeToChannel, NotificationCenter) {
|
|||
return channelPipe;
|
||||
};
|
||||
|
||||
Coordinator.prototype.getChannels = function(options) {
|
||||
var list = [];
|
||||
for (var channelName in this.channelPipes) {
|
||||
list.push({
|
||||
name: channelName
|
||||
});
|
||||
}
|
||||
return list;
|
||||
};
|
||||
|
||||
return Coordinator;
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue