Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(toolbar): show profile button if guest
Leonard Kime649ae90161c
diff --git a/react/features/toolbox/components/Toolbox.web.js b/react/features/toolbox/components/Toolbox.web.jsindex 56241e85ba..6271ad4b7b 100644--- a/react/features/toolbox/components/Toolbox.web.js+++ b/react/features/toolbox/components/Toolbox.web.js@@ -99,6 +99,11 @@ type Props = {*/_hideInviteButton: boolean,+ /**+ * Whether or not the current user is logged in through a JWT.+ */+ _isGuest: boolean,+/*** Whether or not the conference is currently being recorded by the local* participant.@@ -942,12 +947,14 @@ class Toolbox extends Component<Props, State> {_etherpadInitialized,_feedbackConfigured,_fullScreen,+ _isGuest,_sharingVideo,t} = this.props;return [- this._shouldShowButton('profile')+ _isGuest+ && this._shouldShowButton('profile')&& <OverflowMenuProfileItemkey = 'profile'onClick = { this._onToolbarToggleProfile } />,@@ -1121,6 +1128,7 @@ function _mapStateToProps(state) {_feedbackConfigured: Boolean(callStatsID),_hideInviteButton:iAmRecorder || (!addPeopleEnabled && !dialOutEnabled),+ _isGuest: state['features/base/jwt'].isGuest,_isRecording: isRecording,_fullScreen: fullScreen,_localParticipantID: localParticipant.id,