bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/methods.js
2017-02-22 13:11:47 +00:00

18 lines
560 B
JavaScript

import { Meteor } from 'meteor/meteor';
import kickUser from './methods/kickUser';
import listenOnlyToggle from './methods/listenOnlyToggle';
import userLogout from './methods/userLogout';
import assignPresenter from './methods/assignPresenter';
import muteToggle from './methods/muteToggle';
import setEmojiStatus from './methods/setEmojiStatus';
Meteor.methods({
kickUser,
listenOnlyToggle,
userLogout,
assignPresenter,
setEmojiStatus,
muteUser: (...args) => muteToggle(...args, true),
unmuteUser: (...args) => muteToggle(...args, false),
});