bigbluebutton-Github/bigbluebutton-html5/imports/api/voice-users/server/handlers/talkingVoiceUser.js

13 lines
308 B
JavaScript

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