bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/methods.js

16 lines
487 B
JavaScript
Raw Normal View History

import { Meteor } from 'meteor/meteor';
import kickUser from './methods/kickUser';
2017-02-10 20:24:14 +08:00
import listenOnlyToggle from './methods/listenOnlyToggle';
import userLogout from './methods/userLogout';
import muteToggle from './methods/muteToggle';
2017-02-22 20:56:32 +08:00
import assignPresenter from './methods/assignPresenter';
Meteor.methods({
kickUser,
2017-02-10 20:24:14 +08:00
listenOnlyToggle,
userLogout,
muteUser: (...args) => muteToggle(...args, true),
unmuteUser: (...args) => muteToggle(...args, false),
2017-02-22 20:56:32 +08:00
assignPresenter,
});