bigbluebutton-Github/bigbluebutton-html5/imports/api/1.1/breakouts/server/handlers/breakoutClosed.js
2017-06-19 08:57:32 -03: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);
}