2017-02-24 02:15:13 +08:00
|
|
|
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;
|
2019-06-13 02:03:23 +08:00
|
|
|
|
2017-02-24 02:15:13 +08:00
|
|
|
check(user, Object);
|
|
|
|
|
2020-11-23 21:13:46 +08:00
|
|
|
addUser(meetingId, user);
|
2017-06-03 03:25:02 +08:00
|
|
|
}
|