bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/lock-viewers/notify/container.jsx
2019-05-08 20:36:36 +00:00

15 lines
477 B
JavaScript

import { withTracker } from 'meteor/react-meteor-data';
import Meetings from '/imports/api/meetings';
import Auth from '/imports/ui/services/auth';
import LockViewersNotifyComponent from './component';
export default withTracker(() => {
const Meeting = Meetings.findOne({
meetingId: Auth.meetingID,
});
return {
lockSettings: Meeting.lockSettingsProps,
webcamsOnlyForModerator: Meeting.usersProp.webcamsOnlyForModerator,
};
})(LockViewersNotifyComponent);