Merge branch 'develop' into sort-imports
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user