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 : ""), ]; }