6c84a3295b
Revoked extra frontend permission checks and removed dependency from external video stop Meteor's system call.
12 lines
302 B
JavaScript
12 lines
302 B
JavaScript
import { check } from 'meteor/check';
|
|
import stopExternalVideo from '../modifiers/stopExternalVideo';
|
|
|
|
export default function handleStopExternalVideo({ header }, meetingId) {
|
|
check(header, Object);
|
|
check(meetingId, String);
|
|
|
|
const { userId } = header;
|
|
|
|
stopExternalVideo(userId, meetingId);
|
|
}
|