bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/handlers/userLeftFlagUpdated.js

11 lines
272 B
JavaScript
Raw Normal View History

2022-01-07 05:07:22 +08:00
import { check } from 'meteor/check';
import userLeftFlag from '../modifiers/userLeftFlagUpdated';
2022-01-07 05:07:22 +08:00
export default function handleUserLeftFlag({ body }, meetingId) {
const user = body;
check(user, Object);
userLeftFlag(meetingId, user.intId, user.userLeftFlag);
}