several bug fixes regarding "content is an array"

This commit is contained in:
Kevin Jahns
2016-04-07 15:54:47 +02:00
parent 5b21104da3
commit 08a79d0e7b
5 changed files with 59 additions and 31 deletions

View File

@@ -4,7 +4,7 @@
module.exports = function (Y) {
var globalRoom = {
users: {},
buffers: {},
buffers: {}, // TODO: reimplement this idea. This does not cover all cases!! Here, you have a queue which is unrealistic (i.e. think about multiple incoming connections)
removeUser: function (user) {
for (var i in this.users) {
this.users[i].userLeft(user)