mirror of https://github.com/sualko/cloud_bbb
Add support for meta_analytics-callback-url
parent
42f92dc977
commit
7874807fef
|
@ -175,6 +175,10 @@ class API {
|
|||
$createMeetingParams->addMeta('bbb-origin', \method_exists($this->defaults, 'getProductName') ? $this->defaults->getProductName() : 'Nextcloud');
|
||||
$createMeetingParams->addMeta('bbb-origin-server-name', $this->request->getServerHost());
|
||||
|
||||
if (!empty($this->config->getAppValue('bbb', 'api.meta_analytics-callback-url')) {
|
||||
$createMeetingParams->addMeta('analytics-callback-url', \urlencode($this->config->getAppValue('bbb', 'api.meta_analytics-callback-url')));
|
||||
}
|
||||
|
||||
$mac = $this->crypto->calculateHMAC($room->uid);
|
||||
|
||||
$endMeetingUrl = $this->urlGenerator->linkToRouteAbsolute('bbb.hook.meetingEnded', ['token' => $room->uid, 'mac' => $mac]);
|
||||
|
|
Loading…
Reference in New Issue