Merge pull request #8039 from jitsi/tavram/fix-double-slash

fix(jaas) fix double slash for branded invite urls
This commit is contained in:
Avram Tudor 2020-11-05 16:04:59 +02:00 committed by GitHub
commit 88c02fb658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export function getInviteURL(stateOrGetState: Function | Object): string {
if (inviteDomain) {
const meetingId
= state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname;
= state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname.replace('/', '');
return `${inviteDomain}/${meetingId}`;
}