bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/handlers/guestLobbyMessageChanged.js
2023-03-20 16:24:41 -03:00

12 lines
360 B
JavaScript

import { check } from 'meteor/check';
import setGuestLobbyMessage from '../modifiers/setGuestLobbyMessage';
export default async function handleGuestLobbyMessageChanged({ body }, meetingId) {
const { message } = body;
check(meetingId, String);
check(message, String);
const result = await setGuestLobbyMessage(meetingId, message);
return result;
}