diff --git a/react/features/participants-pane/components/web/MeetingParticipantContextMenu.js b/react/features/participants-pane/components/web/MeetingParticipantContextMenu.js index 379fe0f9c..5d76bd602 100644 --- a/react/features/participants-pane/components/web/MeetingParticipantContextMenu.js +++ b/react/features/participants-pane/components/web/MeetingParticipantContextMenu.js @@ -34,6 +34,7 @@ import { sendParticipantToRoom } from '../../../breakout-rooms/actions'; import { getBreakoutRooms, getCurrentRoomId } from '../../../breakout-rooms/functions'; import { openChatById } from '../../../chat/actions'; import { setVolume } from '../../../filmstrip/actions.web'; +import { stopSharedVideo } from '../../../shared-video/actions.any'; import { GrantModeratorDialog, KickRemoteParticipantDialog, MuteEveryoneDialog } from '../../../video-menu'; import { VolumeSlider } from '../../../video-menu/components/web'; import MuteRemoteParticipantsVideoDialog from '../../../video-menu/components/web/MuteRemoteParticipantsVideoDialog'; @@ -250,9 +251,10 @@ class MeetingParticipantContextMenu extends Component<Props> { * @returns {void} */ _onStopSharedVideo() { - const { dispatch } = this.props; + const { dispatch, onSelect } = this.props; - dispatch(this._onStopSharedVideo()); + onSelect(true); + dispatch(stopSharedVideo()); } _onMuteEveryoneElse: () => void;