mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 12:37:49 +00:00
fix(conference) remove no longer needed code
There is no need for setting the availability of desktop sharing anymore. It can now be detected on the spot. The reson for the previous code was that way back when browser extensions were needed, it was possible to start a conference without desktopo sharing support and get it afterwards. This is no longer the case.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
efce5a831b
commit
2a01d3550c
@@ -25,6 +25,7 @@ import {
|
||||
IconShareDesktop,
|
||||
IconShareVideo
|
||||
} from '../../../base/icons';
|
||||
import JitsiMeetJS from '../../../base/lib-jitsi-meet';
|
||||
import {
|
||||
getLocalParticipant,
|
||||
getParticipants,
|
||||
@@ -1403,7 +1404,7 @@ class Toolbox extends Component<Props, State> {
|
||||
*/
|
||||
function _mapStateToProps(state) {
|
||||
const { conference, locked } = state['features/base/conference'];
|
||||
let { desktopSharingEnabled } = state['features/base/conference'];
|
||||
let desktopSharingEnabled = JitsiMeetJS.isDesktopSharingEnabled();
|
||||
const {
|
||||
callStatsID,
|
||||
enableFeaturesBasedOnToken
|
||||
|
||||
Reference in New Issue
Block a user