bigbluebutton-Github/bigbluebutton-html5/imports/api/users-infos/index.js

14 lines
298 B
JavaScript
Raw Normal View History

import { Meteor } from 'meteor/meteor';
const collectionOptions = Meteor.isClient ? {
connection: null,
} : {};
const UserInfos = new Mongo.Collection('users-infos', collectionOptions);
if (Meteor.isServer) {
UserInfos._ensureIndex({ meetingId: 1, userId: 1 });
}
export default UserInfos;