bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/voice-users/server/handlers/mutedVoiceUser.js
2017-07-31 16:36:41 -03:00

12 lines
271 B
JavaScript

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