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

15 lines
329 B
JavaScript

import { Meteor } from 'meteor/meteor';
const VoiceUsers = new Mongo.Collection('voiceUsers');
if (Meteor.isServer) {
// types of queries for the voice users:
// 1. intId
// 2. meetingId, intId
VoiceUsers._ensureIndex({ intId: 1 });
VoiceUsers._ensureIndex({ meetingId: 1, intId: 1 });
}
export default VoiceUsers;