Skips empty invites for video rooms. (#2251)

pull/2253/head
Дамян Минков 8 years ago committed by virtuacoplenny
parent d79995e14c
commit 9ddc5a0e42
  1. 9
      react/features/invite/components/AddPeopleDialog.web.js

@ -220,11 +220,12 @@ class AddPeopleDialog extends Component<*, *> {
addToCallInProgress: true
});
const vrooms = this.state.inviteItems.filter(
i => i.type === 'videosipgw');
this.props._conference
&& this.props.inviteVideoRooms(
this.props._conference,
this.state.inviteItems.filter(
i => i.type === 'videosipgw'));
&& vrooms.length > 0
&& this.props.inviteVideoRooms(this.props._conference, vrooms);
invitePeopleAndChatRooms(
this.props._inviteServiceUrl,

Loading…
Cancel
Save