2016-10-28 01:47:40 +08:00
|
|
|
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
|
|
|
})
|
|
|
|
);
|