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

11 lines
230 B
JavaScript
Raw Normal View History

import { check } from 'meteor/check';
import addUser from '../modifiers/addUser';
2017-10-12 09:02:23 +08:00
export default function handleUserJoined({ body }, meetingId) {
const user = body;
check(user, Object);
return addUser(meetingId, user);
2017-06-03 03:25:02 +08:00
}