|
@@ -4,6 +4,7 @@ import { i18next } from '../base/i18n';
|
4
|
4
|
import { isLocalParticipantModerator } from '../base/participants';
|
5
|
5
|
import { toState } from '../base/redux';
|
6
|
6
|
import { doGetJSON, parseURIString } from '../base/util';
|
|
7
|
+import { isVpaasMeeting } from '../billing-counter/functions';
|
7
|
8
|
|
8
|
9
|
import logger from './logger';
|
9
|
10
|
|
|
@@ -352,7 +353,7 @@ export function invitePeopleAndChatRooms( // eslint-disable-line max-params
|
352
|
353
|
export function isAddPeopleEnabled(state: Object): boolean {
|
353
|
354
|
const { peopleSearchUrl } = state['features/base/config'];
|
354
|
355
|
|
355
|
|
- return state['features/base/jwt'].jwt && Boolean(peopleSearchUrl);
|
|
356
|
+ return state['features/base/jwt'].jwt && Boolean(peopleSearchUrl) && !isVpaasMeeting(state);
|
356
|
357
|
}
|
357
|
358
|
|
358
|
359
|
/**
|