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

pull/10050/head jitsi-meet_6395
Tudor-Ovidiu Avram 3 years ago committed by Дамян Минков
parent 989303f5d2
commit e3ac52908a
  1. 4
      react/features/invite/components/add-people-dialog/web/InviteContactsForm.js

@ -315,7 +315,9 @@ class InviteContactsForm extends AbstractAddPeopleDialog<Props, State> {
*/ */
_parseQueryResults(response = []) { _parseQueryResults(response = []) {
const { t, _dialOutEnabled } = this.props; 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 = []; const userDisplayItems = [];
for (const user of users) { for (const user of users) {

Loading…
Cancel
Save