0365018e92
Moderators are able to send a message to the meeting's guest lobby. This new event reaches bbb-web and is sent to the guest user with her/his status response while polling. All guest users that are waiting for acceptance will be able to read this message. enableGuestLobbyMessage is disabled by default.
12 lines
324 B
JavaScript
12 lines
324 B
JavaScript
import setGuestLobbyMessage from '../modifiers/setGuestLobbyMessage';
|
|
import { check } from 'meteor/check';
|
|
|
|
export default function handleGuestLobbyMessageChanged({ body }, meetingId) {
|
|
const { message } = body;
|
|
|
|
check(meetingId, String);
|
|
check(message, String);
|
|
|
|
return setGuestLobbyMessage(meetingId, message);
|
|
}
|