From a807f804a956f2df987b5370f20f123ec545a656 Mon Sep 17 00:00:00 2001 From: Tudor-Ovidiu Avram Date: Wed, 13 Jan 2021 11:12:41 +0200 Subject: [PATCH] fix(jaas) disable directory integration --- react/features/invite/functions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react/features/invite/functions.js b/react/features/invite/functions.js index 0d9b7412a..a154dea38 100644 --- a/react/features/invite/functions.js +++ b/react/features/invite/functions.js @@ -4,6 +4,7 @@ import { i18next } from '../base/i18n'; import { isLocalParticipantModerator } from '../base/participants'; import { toState } from '../base/redux'; import { doGetJSON, parseURIString } from '../base/util'; +import { isVpaasMeeting } from '../billing-counter/functions'; import logger from './logger'; @@ -352,7 +353,7 @@ export function invitePeopleAndChatRooms( // eslint-disable-line max-params export function isAddPeopleEnabled(state: Object): boolean { const { peopleSearchUrl } = state['features/base/config']; - return state['features/base/jwt'].jwt && Boolean(peopleSearchUrl); + return state['features/base/jwt'].jwt && Boolean(peopleSearchUrl) && !isVpaasMeeting(state); } /**