|
@@ -49,7 +49,11 @@ export function invite(invitees: Array<Object>) {
|
49
|
49
|
|
50
|
50
|
const state = getState();
|
51
|
51
|
const { conference } = state['features/base/conference'];
|
52
|
|
- const { inviteServiceUrl } = state['features/base/config'];
|
|
52
|
+ const {
|
|
53
|
+ callFlowsEnabled,
|
|
54
|
+ inviteServiceUrl,
|
|
55
|
+ inviteServiceCallFlowsUrl
|
|
56
|
+ } = state['features/base/config'];
|
53
|
57
|
const inviteUrl = getInviteURL(state);
|
54
|
58
|
const { jwt } = state['features/base/jwt'];
|
55
|
59
|
|
|
@@ -85,7 +89,8 @@ export function invite(invitees: Array<Object>) {
|
85
|
89
|
// filter all rooms and users from {@link invitesLeftToSend}.
|
86
|
90
|
const peopleInvitePromise
|
87
|
91
|
= invitePeopleAndChatRooms(
|
88
|
|
- inviteServiceUrl,
|
|
92
|
+ callFlowsEnabled
|
|
93
|
+ ? inviteServiceCallFlowsUrl : inviteServiceUrl,
|
89
|
94
|
inviteUrl,
|
90
|
95
|
jwt,
|
91
|
96
|
usersAndRooms)
|