diff --git a/react/features/invite/components/AddPeopleDialog.web.js b/react/features/invite/components/AddPeopleDialog.web.js index 1b6616d48..cb4af975a 100644 --- a/react/features/invite/components/AddPeopleDialog.web.js +++ b/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,