Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

rn,conference: show lonely experience only after joining

Saúl Ibarra Corretgé36d95ed51f1b
diff --git a/react/features/conference/components/native/LonelyMeetingExperience.js b/react/features/conference/components/native/LonelyMeetingExperience.js
index c7cf758488..5752115cda 100644
--- a/react/features/conference/components/native/LonelyMeetingExperience.js
+++ b/react/features/conference/components/native/LonelyMeetingExperience.js
@@ -126,11 +126,12 @@ class LonelyMeetingExperience extends PureComponent<Props> {
*/
function _mapStateToProps(state): $Shape<Props> {
const { disableInviteFunctions } = state['features/base/config'];
+ const { conference } = state['features/base/conference'];
const flag = getFeatureFlag(state, INVITE_ENABLED, true);
return {
_isInviteFunctionsDiabled: !flag || disableInviteFunctions,
- _isLonelyMeeting: getParticipantCount(state) === 1,
+ _isLonelyMeeting: conference && getParticipantCount(state) === 1,
_styles: ColorSchemeRegistry.get(state, 'Conference')
};
}