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

12 lines
271 B
JavaScript
Raw Normal View History

2017-08-01 03:36:41 +08:00
import { check } from 'meteor/check';
import updateVoiceUser from '../modifiers/updateVoiceUser';
export default function handleVoiceUpdate({ body }, meetingId) {
const voiceUser = body;
check(meetingId, String);
return updateVoiceUser(meetingId, voiceUser);
}