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

11 lines
230 B
JavaScript
Raw Normal View History

2017-06-19 21:13:35 +08:00
import { check } from 'meteor/check';
import addUser from '../modifiers/addUser';
2017-06-29 04:04:41 +08:00
export default function handleUserJoined(meetingId, { body }) {
2017-06-22 00:54:04 +08:00
const user = body;
2017-06-19 21:13:35 +08:00
check(user, Object);
return addUser(meetingId, user);
}