bigbluebutton-Github/bigbluebutton-html5/imports/api/group-chat/server/handlers/groupChatCreated.js

10 lines
250 B
JavaScript
Raw Normal View History

import { check } from 'meteor/check';
import addGroupChat from '../modifiers/addGroupChat';
export default function handleGroupChatCreated({ body }, meetingId) {
check(meetingId, String);
check(body, Object);
addGroupChat(meetingId, body);
}