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