Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Remove leading slash from /addwidget Jitsi confs #7175

Merged
merged 2 commits into from
Nov 23, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/widgets/Jitsi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class Jitsi {
const parsed = new URL(url);
if (parsed.hostname !== this.preferredDomain) return null; // invalid
return {
conferenceId: parsed.pathname,
conferenceId: parsed.pathname.substr(1),
AndrewFerr marked this conversation as resolved.
Show resolved Hide resolved
domain: parsed.hostname,
isAudioOnly: false,
};
Expand Down