diff --git a/mod/bigbluebuttonbn/classes/broker.php b/mod/bigbluebuttonbn/classes/broker.php index 3c48634df31c9..982edb29e57d1 100644 --- a/mod/bigbluebuttonbn/classes/broker.php +++ b/mod/bigbluebuttonbn/classes/broker.php @@ -153,6 +153,7 @@ public static function process_meeting_events(instance $instance) { // Get JSON string from the body. $jsonstr = file_get_contents('php://input'); + debugging("Payload received:\n$jsonstr", DEBUG_DEVELOPER); // Convert JSON string to a JSON object. $jsonobj = json_decode($jsonstr); diff --git a/mod/bigbluebuttonbn/classes/meeting.php b/mod/bigbluebuttonbn/classes/meeting.php index 095a09d8a20c4..b65af88db022f 100644 --- a/mod/bigbluebuttonbn/classes/meeting.php +++ b/mod/bigbluebuttonbn/classes/meeting.php @@ -496,6 +496,7 @@ public static function meeting_events(instance $instance, object $data): string $meta['internalmeetingid'] = $data->{'internal_meeting_id'}; $meta['callback'] = 'meeting_events'; $meta['meetingid'] = $data->{'meeting_id'}; + $meta['data'] = $data->{'data'}; $eventcount = logger::log_event_callback($instance, $overrides, $meta); if ($eventcount === 1) {