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
|
|
|
|
|
|
|
export default function breakoutClosed({ 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
|
|
|
}
|