bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/handlers/userJoined.js
2023-03-20 16:35:52 -03:00

12 lines
236 B
JavaScript

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