front: remove instance name from jitsi room names if global
This commit is contained in:
parent
57d2535bc2
commit
2c1b5a90ea
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class JitsiFactory {
|
|||
* Slugifies the room name and prepends the room name with the instance
|
||||
*/
|
||||
public getRoomName(roomName: string, instance: string): string {
|
||||
return slugify(instance.replace("/", "-") + "-" + roomName);
|
||||
return slugify((instance !== 'global') ? instance.replace("/", "-") + "-" + roomName : roomName);
|
||||
}
|
||||
|
||||
public async start(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue