diff --git a/bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/component.jsx b/bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/component.jsx index 5826b69546..e161dfe599 100644 --- a/bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/component.jsx @@ -7,6 +7,7 @@ import BBBMenu from '/imports/ui/components/common/menu/component'; import PropTypes from 'prop-types'; import Styled from './styles'; import Auth from '/imports/ui/services/auth'; +import { notify } from '/imports/ui/services/notification'; const intlMessages = defineMessages({ focusLabel: { @@ -56,6 +57,9 @@ const intlMessages = defineMessages({ disableDesc: { id: 'app.videoDock.webcamDisableDesc', }, + disableWarning: { + id: 'app.videoDock.webcamDisableWarning', + }, }); const UserActions = (props) => { @@ -82,6 +86,7 @@ const UserActions = (props) => { const toggleDisableCam = () => { if (!isCameraDisabled) { Session.set('disabledCams', [...disabledCams, cameraId]); + notify(intl.formatMessage(intlMessages.disableWarning), 'info', 'warning'); } else { Session.set('disabledCams', disabledCams.filter((cId) => cId !== cameraId)); } diff --git a/bigbluebutton-html5/public/locales/en.json b/bigbluebutton-html5/public/locales/en.json index 69ba7de58e..79c8d90965 100755 --- a/bigbluebutton-html5/public/locales/en.json +++ b/bigbluebutton-html5/public/locales/en.json @@ -1167,6 +1167,7 @@ "app.videoDock.webcamDisableLabelAllCams": "Disable self-view (all cameras)", "app.videoDock.webcamEnableLabel": "Enable self-view", "app.videoDock.webcamDisableDesc": "Self-view disabled", + "app.videoDock.webcamDisableWarning": "Your webcam is still visible to others! Only your local view is disabled.", "app.videoDock.webcamPinLabel": "Pin", "app.videoDock.webcamPinDesc": "Pin the selected webcam", "app.videoDock.webcamFullscreenLabel": "Fullscreen webcam",