diff --git a/src/widgets/Jitsi.ts b/src/widgets/Jitsi.ts index cd31e57d7cf..006fbbdc582 100644 --- a/src/widgets/Jitsi.ts +++ b/src/widgets/Jitsi.ts @@ -92,7 +92,9 @@ export class Jitsi { const parsed = new URL(url); if (parsed.hostname !== this.preferredDomain) return null; // invalid return { - conferenceId: parsed.pathname, + // URL pathnames always contain a leading slash. + // Remove it to be left with just the conference name. + conferenceId: parsed.pathname.substring(1), domain: parsed.hostname, isAudioOnly: false, };