14 lines
309 B
JavaScript
14 lines
309 B
JavaScript
|
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;
|