|
|
|
|
7
|
import { getFeatureFlag, INVITE_ENABLED } from '../../../base/flags';
|
7
|
import { getFeatureFlag, INVITE_ENABLED } from '../../../base/flags';
|
8
|
import { translate } from '../../../base/i18n';
|
8
|
import { translate } from '../../../base/i18n';
|
9
|
import { Icon, IconAddPeople } from '../../../base/icons';
|
9
|
import { Icon, IconAddPeople } from '../../../base/icons';
|
10
|
-import { getParticipantCount } from '../../../base/participants';
|
|
|
|
|
10
|
+import { getParticipantCountWithFake } from '../../../base/participants';
|
11
|
import { connect } from '../../../base/redux';
|
11
|
import { connect } from '../../../base/redux';
|
12
|
import { StyleType } from '../../../base/styles';
|
12
|
import { StyleType } from '../../../base/styles';
|
13
|
import { doInvitePeople } from '../../../invite/actions.native';
|
13
|
import { doInvitePeople } from '../../../invite/actions.native';
|
|
|
|
|
131
|
|
131
|
|
132
|
return {
|
132
|
return {
|
133
|
_isInviteFunctionsDiabled: !flag || disableInviteFunctions,
|
133
|
_isInviteFunctionsDiabled: !flag || disableInviteFunctions,
|
134
|
- _isLonelyMeeting: conference && getParticipantCount(state) === 1,
|
|
|
|
|
134
|
+ _isLonelyMeeting: conference && getParticipantCountWithFake(state) === 1,
|
135
|
_styles: ColorSchemeRegistry.get(state, 'Conference')
|
135
|
_styles: ColorSchemeRegistry.get(state, 'Conference')
|
136
|
};
|
136
|
};
|
137
|
}
|
137
|
}
|