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

15 lines
352 B
JavaScript
Raw Normal View History

import { check } from 'meteor/check';
import Logger from '/imports/startup/server/logger';
import addUser from '../modifiers/addUser';
export default function handleUserJoined({ payload }) {
const meetingId = payload.meeting_id;
const user = payload.user;
check(meetingId, String);
check(user, Object);
return addUser(meetingId, user);
2017-06-03 03:25:02 +08:00
}