|
|
@@ -129,14 +129,14 @@ type Props = {
|
|
129
|
129
|
_fullScreen: boolean,
|
|
130
|
130
|
|
|
131
|
131
|
/**
|
|
132
|
|
- * Whether or not the tile view is enabled.
|
|
|
132
|
+ * Whether or not the profile is disabled.
|
|
133
|
133
|
*/
|
|
134
|
|
- _tileViewEnabled: boolean,
|
|
|
134
|
+ _isProfileDisabled: boolean,
|
|
135
|
135
|
|
|
136
|
136
|
/**
|
|
137
|
|
- * Whether or not the current user is logged in through a JWT.
|
|
|
137
|
+ * Whether or not the tile view is enabled.
|
|
138
|
138
|
*/
|
|
139
|
|
- _isGuest: boolean,
|
|
|
139
|
+ _tileViewEnabled: boolean,
|
|
140
|
140
|
|
|
141
|
141
|
/**
|
|
142
|
142
|
* Whether or not the current meeting belongs to a JaaS user.
|
|
|
@@ -993,7 +993,7 @@ class Toolbox extends Component<Props, State> {
|
|
993
|
993
|
* @returns {boolean}
|
|
994
|
994
|
*/
|
|
995
|
995
|
_isProfileVisible() {
|
|
996
|
|
- return this.props._isGuest && this._shouldShowButton('profile');
|
|
|
996
|
+ return !this.props._isProfileDisabled && this._shouldShowButton('profile');
|
|
997
|
997
|
}
|
|
998
|
998
|
|
|
999
|
999
|
/**
|
|
|
@@ -1448,7 +1448,7 @@ function _mapStateToProps(state) {
|
|
1448
|
1448
|
_desktopSharingDisabledTooltipKey: desktopSharingDisabledTooltipKey,
|
|
1449
|
1449
|
_dialog: Boolean(state['features/base/dialog'].component),
|
|
1450
|
1450
|
_feedbackConfigured: Boolean(callStatsID),
|
|
1451
|
|
- _isGuest: state['features/base/jwt'].isGuest,
|
|
|
1451
|
+ _isProfileDisabled: Boolean(state['features/base/config'].disableProfile),
|
|
1452
|
1452
|
_isVpaasMeeting: isVpaasMeeting(state),
|
|
1453
|
1453
|
_fullScreen: fullScreen,
|
|
1454
|
1454
|
_tileViewEnabled: shouldDisplayTileView(state),
|