bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/handlers/guestLobbyMessageChanged.js

12 lines
360 B
JavaScript
Raw Normal View History

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;
}