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