16 lines
618 B
JavaScript
Executable File
16 lines
618 B
JavaScript
Executable File
import { Meteor } from 'meteor/meteor';
|
|
import listenOnlyToggle from './methods/listenOnlyToggle';
|
|
import muteToggle from './methods/muteToggle';
|
|
import muteAllToggle from './methods/muteAllToggle';
|
|
import muteAllExceptPresenterToggle from './methods/muteAllExceptPresenterToggle';
|
|
import ejectUserFromVoice from './methods/ejectUserFromVoice';
|
|
|
|
Meteor.methods({
|
|
listenOnlyToggle,
|
|
toggleSelfVoice: (credentials) => { muteToggle(credentials, credentials.requesterUserId); },
|
|
toggleVoice: muteToggle,
|
|
muteAllUsers: muteAllToggle,
|
|
muteAllExceptPresenter: muteAllExceptPresenterToggle,
|
|
ejectUserFromVoice,
|
|
});
|