bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/handlers/userJoined.js
2017-08-03 09:36:26 -03:00

11 lines
230 B
JavaScript

import { check } from 'meteor/check';
import addUser from '../modifiers/addUser';
export default function handleUserJoined({ body }, meetingId) {
const user = body;
check(user, Object);
return addUser(meetingId, user);
}