Skip to content

Commit

Permalink
Fix room name
Browse files Browse the repository at this point in the history
  • Loading branch information
daVitekPL committed Oct 29, 2024
1 parent 6037407 commit 1205523
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Services/JitsiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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" => [
Expand Down Expand Up @@ -118,7 +117,7 @@ public function getChannelData(
'url' => $url ?: "https://" .
$this->config[$this->mode . '_host'] .
"/" .
$channelName .
$channelDisplayName .
(!empty($jwt) ? "?jwt=" . $jwt : ""),
];
}
Expand Down

0 comments on commit 1205523

Please sign in to comment.