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

12 lines
236 B
JavaScript
Raw Normal View History

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