fix(invite) fix video rooms not being displayed in invite search
This commit is contained in:
parent
989303f5d2
commit
e3ac52908a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue