fix(rn,conference) count fake participants when checking if lonely meeting
A shared video participant counts, so the lonely meeting invite options can disappear.
This commit is contained in:
parent
0b54e005d7
commit
3bf9c41f08
|
@ -7,7 +7,7 @@ import { ColorSchemeRegistry } from '../../../base/color-scheme';
|
|||
import { getFeatureFlag, INVITE_ENABLED } from '../../../base/flags';
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { Icon, IconAddPeople } from '../../../base/icons';
|
||||
import { getParticipantCount } from '../../../base/participants';
|
||||
import { getParticipantCountWithFake } from '../../../base/participants';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { StyleType } from '../../../base/styles';
|
||||
import { doInvitePeople } from '../../../invite/actions.native';
|
||||
|
@ -131,7 +131,7 @@ function _mapStateToProps(state): $Shape<Props> {
|
|||
|
||||
return {
|
||||
_isInviteFunctionsDiabled: !flag || disableInviteFunctions,
|
||||
_isLonelyMeeting: conference && getParticipantCount(state) === 1,
|
||||
_isLonelyMeeting: conference && getParticipantCountWithFake(state) === 1,
|
||||
_styles: ColorSchemeRegistry.get(state, 'Conference')
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue