bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/breakouts/index.js
2017-09-07 16:41:03 -07:00

15 lines
400 B
JavaScript

import { Meteor } from 'meteor/meteor';
const Breakouts = new Mongo.Collection('breakouts2x');
if (Meteor.isServer) {
// types of queries for the breakouts:
// 1. breakoutId ( handleJoinUrl, roomStarted, clearBreakouts )
// 2. parentMeetingId ( updateTimeRemaining )
Breakouts._ensureIndex({ breakoutId: 1 });
Breakouts._ensureIndex({ parentMeetingId: 1 });
}
export default Breakouts;