From 1205523175f6b72c08d9a8055964ad3e558269bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Witold=20Wis=CC=81niewski?= Date: Tue, 29 Oct 2024 08:01:59 +0100 Subject: [PATCH] Fix room name --- src/Services/JitsiService.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Services/JitsiService.php b/src/Services/JitsiService.php index 24d6f3a..5f23362 100644 --- a/src/Services/JitsiService.php +++ b/src/Services/JitsiService.php @@ -75,11 +75,10 @@ public function getChannelData( return ['error' => 'Package is disabled']; } - $channelName = $this->getChannelSlug($channelDisplayName); $data = [ "domain" => $this->config[$this->mode . '_host'], "app_id" => $this->config['app_id'], - "roomName" => $channelName, + "roomName" => $channelDisplayName, "configOverwrite" => $configOverwrite, "interfaceConfigOverwrite" => $interfaceConfigOverwrite, "userInfo" => [ @@ -118,7 +117,7 @@ public function getChannelData( 'url' => $url ?: "https://" . $this->config[$this->mode . '_host'] . "/" . - $channelName . + $channelDisplayName . (!empty($jwt) ? "?jwt=" . $jwt : ""), ]; }