bigbluebutton-Github/bigbluebutton-html5/imports/api/group-chat/server/handlers/groupChatDestroyed.js
2018-03-09 15:42:14 -03:00

10 lines
259 B
JavaScript

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