bigbluebutton-Github/bigbluebutton-html5/imports/api/voice-call-states/index.js

14 lines
309 B
JavaScript
Raw Normal View History

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