bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/handlers/breakoutClosed.js
2016-11-29 14:52:15 -02:00

11 lines
264 B
JavaScript

import clearBreakouts from '../modifiers/clearBreakouts';
import { check } from 'meteor/check';
export default function handleBreakoutClosed({ payload }) {
const meetingId = payload.meetingId;
check(meetingId, String);
return clearBreakouts(meetingId);
}