From 2c1b5a90ea7b10364cbefbcb0d84bde22519ec67 Mon Sep 17 00:00:00 2001 From: Ludwig Behm Date: Sun, 28 Mar 2021 17:52:57 +0200 Subject: [PATCH] front: remove instance name from jitsi room names if global --- front/src/WebRtc/JitsiFactory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/WebRtc/JitsiFactory.ts b/front/src/WebRtc/JitsiFactory.ts index b273a64c..833ee0c5 100644 --- a/front/src/WebRtc/JitsiFactory.ts +++ b/front/src/WebRtc/JitsiFactory.ts @@ -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(