fix(jaas) fix double slash for branded invite urls
This commit is contained in:
parent
9f65ae52f1
commit
0f64c66f91
|
@ -59,7 +59,7 @@ export function getInviteURL(stateOrGetState: Function | Object): string {
|
||||||
|
|
||||||
if (inviteDomain) {
|
if (inviteDomain) {
|
||||||
const meetingId
|
const meetingId
|
||||||
= state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname;
|
= state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname.replace('/', '');
|
||||||
|
|
||||||
return `${inviteDomain}/${meetingId}`;
|
return `${inviteDomain}/${meetingId}`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue