|
@@ -126,11 +126,12 @@ class LonelyMeetingExperience extends PureComponent<Props> {
|
126
|
126
|
*/
|
127
|
127
|
function _mapStateToProps(state): $Shape<Props> {
|
128
|
128
|
const { disableInviteFunctions } = state['features/base/config'];
|
|
129
|
+ const { conference } = state['features/base/conference'];
|
129
|
130
|
const flag = getFeatureFlag(state, INVITE_ENABLED, true);
|
130
|
131
|
|
131
|
132
|
return {
|
132
|
133
|
_isInviteFunctionsDiabled: !flag || disableInviteFunctions,
|
133
|
|
- _isLonelyMeeting: getParticipantCount(state) === 1,
|
|
134
|
+ _isLonelyMeeting: conference && getParticipantCount(state) === 1,
|
134
|
135
|
_styles: ColorSchemeRegistry.get(state, 'Conference')
|
135
|
136
|
};
|
136
|
137
|
}
|