15 lines
329 B
JavaScript
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;
|