bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/handlers/userJoined.js

12 lines
231 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);
}