diff --git a/app/utils/lib/RoomTypeConfig.js b/app/utils/lib/RoomTypeConfig.js index ac87d16863cd..cb6e022942dd 100644 --- a/app/utils/lib/RoomTypeConfig.js +++ b/app/utils/lib/RoomTypeConfig.js @@ -1,11 +1,13 @@ import { Meteor } from 'meteor/meteor'; import { Random } from 'meteor/random'; -import { settings } from '../../settings'; - let Users; +let settings; if (Meteor.isServer) { + ({ settings } = require('../../settings/server')); Users = require('../../models/server/models/Users').default; +} else { + ({ settings } = require('../../settings/client')); } export const RoomSettingsEnum = {