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

14 lines
317 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;
2022-04-05 01:26:00 +08:00
check(user, {
intId: String,
userLeftFlag: Boolean,
});
2022-01-07 05:07:22 +08:00
userLeftFlag(meetingId, user.intId, user.userLeftFlag);
}