Skip to content
Snippets Groups Projects
Commit 1bccb5b6 authored by KDSBrowne's avatar KDSBrowne
Browse files

fix webcams of other viewers lock toggle

parent 0cb1c798
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ export default function toggleWebcamsOnlyForModerator(credentials, meeting) {
check(meeting.usersProp.webcamsOnlyForModerator, Boolean);
const payload = {
webcamsOnlyForModerator: !meeting.usersProp.webcamsOnlyForModerator,
webcamsOnlyForModerator: meeting.usersProp.webcamsOnlyForModerator,
setBy: requesterUserId,
};
......
......@@ -2,7 +2,6 @@ import Logger from '/imports/startup/server/logger';
import Meetings from '/imports/api/meetings';
import { check } from 'meteor/check';
export default function changeWebcamOnlyModerator(meetingId, payload) {
check(meetingId, String);
check(payload, {
......
......@@ -12,11 +12,9 @@ export default withModalMounter(withTracker(({ mountModal }) => ({
closeModal() {
mountModal(null);
},
toggleLockSettings(meeting) {
makeCall('toggleLockSettings', meeting);
},
toggleWebcamsOnlyForModerator(meeting) {
makeCall('toggleWebcamsOnlyForModerator', meeting);
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment