mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat: Drop buttons tooltips specific to guests.
This commit is contained in:
@@ -1426,15 +1426,7 @@ function _mapStateToProps(state) {
|
||||
desktopSharingEnabled = getParticipants(state)
|
||||
.find(({ features = {} }) =>
|
||||
String(features['screen-sharing']) === 'true') !== undefined;
|
||||
|
||||
// we want to show button and tooltip
|
||||
if (state['features/base/jwt'].isGuest) {
|
||||
desktopSharingDisabledTooltipKey
|
||||
= 'dialog.shareYourScreenDisabledForGuest';
|
||||
} else {
|
||||
desktopSharingDisabledTooltipKey
|
||||
= 'dialog.shareYourScreenDisabled';
|
||||
}
|
||||
desktopSharingDisabledTooltipKey = 'dialog.shareYourScreenDisabled';
|
||||
}
|
||||
|
||||
// NB: We compute the buttons again here because if URL parameters were used to
|
||||
|
||||
Reference in New Issue
Block a user