bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/handlers/userLeftFlagUpdated.js
2022-04-04 14:26:00 -03:00

14 lines
317 B
JavaScript

import { check } from 'meteor/check';
import userLeftFlag from '../modifiers/userLeftFlagUpdated';
export default function handleUserLeftFlag({ body }, meetingId) {
const user = body;
check(user, {
intId: String,
userLeftFlag: Boolean,
});
userLeftFlag(meetingId, user.intId, user.userLeftFlag);
}