cloak icon indicating copy to clipboard operation
cloak copied to clipboard

Room seems to be ignoring its size

Open nitzanbueno opened this issue 7 years ago • 1 comments

When adding users to a room using Room.addMember(user), the room allows an unlimited number of players to join and always returns "true", even though its room size shouldn't be allowing it.

nitzanbueno avatar Jun 11 '17 16:06 nitzanbueno

Hi @nitzanbueno, I'm not actively maintaining this project at this time, but if you want to take a look the problem may be that the room size isn't consider in addMember in this file: https://github.com/incompl/cloak/blob/master/src/server/cloak/room.js

incompl avatar Jun 12 '17 14:06 incompl