3 var assertUserValidInRoom = require('./assert-user-valid-in-room');
4 var assert = require('assert');
6 module.exports = function(room, existingUser) {
7 assert(room, 'Room expected');
9 // This made a lot more sense when there were multiple join room checks
10 return assertUserValidInRoom(room, existingUser);