bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/publishers.js
2016-11-14 14:12:54 -02:00

12 lines
279 B
JavaScript

import Breakouts from '/imports/api/breakouts';
import { Meteor } from 'meteor/meteor';
Meteor.publish('breakouts', credentials =>
Breakouts.find({
$or: [
{ parentMeetingId: credentials.meetingId },
{ breakoutMeetingId: credentials.meetingId },
],
})
);