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

16 lines
321 B
JavaScript
Raw Normal View History

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