bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/publishers.js

12 lines
279 B
JavaScript
Raw Normal View History

import Breakouts from '/imports/api/breakouts';
import { Meteor } from 'meteor/meteor';
2016-11-15 00:12:54 +08:00
Meteor.publish('breakouts', credentials =>
Breakouts.find({
2016-11-14 19:57:10 +08:00
$or: [
{ parentMeetingId: credentials.meetingId },
{ breakoutMeetingId: credentials.meetingId },
],
2016-11-15 00:12:54 +08:00
})
);