Skip to content

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

fix(invite) fix video rooms not being displayed in invite search

Tudor-Ovidiu Avrame3ac52908a07
diff --git a/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js b/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js
index 43f8af9ea2..3dc61f9a23 100644
--- a/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js
+++ b/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js
@@ -315,7 +315,9 @@ class InviteContactsForm extends AbstractAddPeopleDialog<Props, State> {
*/
_parseQueryResults(response = []) {
const { t, _dialOutEnabled } = this.props;
- const users = response.filter(item => item.type === INVITE_TYPES.USER);
+
+ const userTypes = [ INVITE_TYPES.USER, INVITE_TYPES.VIDEO_ROOM, INVITE_TYPES.ROOM ];
+ const users = response.filter(item => userTypes.includes(item.type));
const userDisplayItems = [];
for (const user of users) {