|
|
@ -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) { |
|
|
|