bigbluebutton-Github/bigbluebutton-html5/imports/api/users/index.js
2021-10-04 17:01:20 -03:00

15 lines
333 B
JavaScript

import { Meteor } from 'meteor/meteor';
const Users = new Mongo.Collection('users');
export const CurrentUser = new Mongo.Collection('current-user');
if (Meteor.isServer) {
// types of queries for the users:
// 1. meetingId
// 2. meetingId, userId
Users._ensureIndex({ meetingId: 1, userId: 1 });
}
export default Users;