fix: invitation link in moderator message

fix #12
pull/16/head
sualko 2020-04-28 15:21:25 +02:00
parent b0ce8f2c5d
commit cf42d0f518
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class JoinController extends PublicShareController
$createMeetingParams->setRecord($room->record); $createMeetingParams->setRecord($room->record);
$createMeetingParams->setLogoutUrl($this->urlGenerator->getBaseUrl()); $createMeetingParams->setLogoutUrl($this->urlGenerator->getBaseUrl());
$invitationUrl = $this->urlGenerator->getAbsoluteURL($this->request->getPathInfo()); $invitationUrl = $this->urlGenerator->linkToRouteAbsolute('bbb.join.index', ['token' => $this->getToken()]);
$createMeetingParams->setModeratorOnlyMessage('To invite someone to the meeting, send them this link: ' . $invitationUrl); $createMeetingParams->setModeratorOnlyMessage('To invite someone to the meeting, send them this link: ' . $invitationUrl);
if (!empty($room->welcome)) { if (!empty($room->welcome)) {