From 841342608e621bf532358bde95775d5d3357b7a7 Mon Sep 17 00:00:00 2001 From: Thierry Kauffmann Date: Thu, 10 Mar 2022 10:29:52 +0100 Subject: [PATCH] Add support for meta_analytics-callback-url --- lib/BigBlueButton/API.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/BigBlueButton/API.php b/lib/BigBlueButton/API.php index 2fcfa6b..31ab473 100644 --- a/lib/BigBlueButton/API.php +++ b/lib/BigBlueButton/API.php @@ -175,8 +175,8 @@ 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'))); + if (!empty($this->config->getAppValue('bbb', 'api.meta_analytics-callback-url'))) { + $createMeetingParams->addMeta('analytics-callback-url', $this->config->getAppValue('bbb', 'api.meta_analytics-callback-url')); } $mac = $this->crypto->calculateHMAC($room->uid);