|
|
@@ -99,6 +99,11 @@ type Props = {
|
|
99
|
99
|
*/
|
|
100
|
100
|
_hideInviteButton: boolean,
|
|
101
|
101
|
|
|
|
102
|
+ /**
|
|
|
103
|
+ * Whether or not the current user is logged in through a JWT.
|
|
|
104
|
+ */
|
|
|
105
|
+ _isGuest: boolean,
|
|
|
106
|
+
|
|
102
|
107
|
/**
|
|
103
|
108
|
* Whether or not the conference is currently being recorded by the local
|
|
104
|
109
|
* participant.
|
|
|
@@ -942,12 +947,14 @@ class Toolbox extends Component<Props, State> {
|
|
942
|
947
|
_etherpadInitialized,
|
|
943
|
948
|
_feedbackConfigured,
|
|
944
|
949
|
_fullScreen,
|
|
|
950
|
+ _isGuest,
|
|
945
|
951
|
_sharingVideo,
|
|
946
|
952
|
t
|
|
947
|
953
|
} = this.props;
|
|
948
|
954
|
|
|
949
|
955
|
return [
|
|
950
|
|
- this._shouldShowButton('profile')
|
|
|
956
|
+ _isGuest
|
|
|
957
|
+ && this._shouldShowButton('profile')
|
|
951
|
958
|
&& <OverflowMenuProfileItem
|
|
952
|
959
|
key = 'profile'
|
|
953
|
960
|
onClick = { this._onToolbarToggleProfile } />,
|
|
|
@@ -1121,6 +1128,7 @@ function _mapStateToProps(state) {
|
|
1121
|
1128
|
_feedbackConfigured: Boolean(callStatsID),
|
|
1122
|
1129
|
_hideInviteButton:
|
|
1123
|
1130
|
iAmRecorder || (!addPeopleEnabled && !dialOutEnabled),
|
|
|
1131
|
+ _isGuest: state['features/base/jwt'].isGuest,
|
|
1124
|
1132
|
_isRecording: isRecording,
|
|
1125
|
1133
|
_fullScreen: fullScreen,
|
|
1126
|
1134
|
_localParticipantID: localParticipant.id,
|