bigbluebutton-Github/bigbluebutton-html5/imports/api/1.1/breakouts/server/handlers/breakoutClosed.js

11 lines
264 B
JavaScript
Raw Normal View History

2016-11-14 19:57:10 +08:00
import clearBreakouts from '../modifiers/clearBreakouts';
2016-11-15 00:12:54 +08:00
import { check } from 'meteor/check';
2016-11-14 19:57:10 +08:00
2016-11-30 00:52:15 +08:00
export default function handleBreakoutClosed({ payload }) {
2016-11-15 00:12:54 +08:00
const meetingId = payload.meetingId;
check(meetingId, String);
2016-11-29 03:48:02 +08:00
return clearBreakouts(meetingId);
2016-11-14 19:57:10 +08:00
}