bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/handlers/userInactivityInspect.js
2023-03-20 16:35:52 -03:00

14 lines
413 B
JavaScript

import { check } from 'meteor/check';
import userInactivityInspect from '../modifiers/userInactivityInspect';
export default async function handleUserInactivityInspect({ header, body }, meetingId) {
const { userId } = header;
const { responseDelay } = body;
check(userId, String);
check(responseDelay, Match.Integer);
check(meetingId, String);
await userInactivityInspect(userId, responseDelay);
}