bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/publishers.js
2016-10-27 15:47:40 -02:00

13 lines
397 B
JavaScript

import Breakouts from '/imports/api/breakouts';
import { Meteor } from 'meteor/meteor';
import { check } from 'meteor/check';
import Logger from '/imports/startup/server/logger';
import { isAllowedTo } from '/imports/startup/server/userPermissions';
Meteor.publish('breakouts', credentials => {
Logger.info(credentials);
Breakouts.find({
parentMeetingId: credentials.meetingId,
});
});