2019-03-19 22:15:44 +08:00
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
2021-10-20 04:35:39 +08:00
|
|
|
import Meetings from '/imports/api/meetings';
|
2019-03-19 22:15:44 +08:00
|
|
|
import Auth from '/imports/ui/services/auth';
|
|
|
|
import LockViewersNotifyComponent from './component';
|
|
|
|
|
|
|
|
export default withTracker(() => {
|
|
|
|
const Meeting = Meetings.findOne({
|
|
|
|
meetingId: Auth.meetingID,
|
|
|
|
});
|
|
|
|
return {
|
2019-03-30 02:22:52 +08:00
|
|
|
lockSettings: Meeting.lockSettingsProps,
|
2019-03-19 22:15:44 +08:00
|
|
|
webcamsOnlyForModerator: Meeting.usersProp.webcamsOnlyForModerator,
|
|
|
|
};
|
|
|
|
})(LockViewersNotifyComponent);
|