diff --git a/mod/bigbluebuttonbn/classes/meeting.php b/mod/bigbluebuttonbn/classes/meeting.php index 71449bb5e80e4..c86f32c759f5e 100644 --- a/mod/bigbluebuttonbn/classes/meeting.php +++ b/mod/bigbluebuttonbn/classes/meeting.php @@ -500,6 +500,10 @@ public static function meeting_events(instance $instance, object $data): string $meta['callback'] = 'meeting_events'; $meta['meetingid'] = $data->{'meeting_id'}; + // Remove attendees from data to avoid duplicating callback logs; they are stored as summary logs. + $meta['data'] = clone $data->{'data'}; + unset($meta['data']->{'attendees'}); + $eventcount = logger::log_event_callback($instance, $overrides, $meta); if ($eventcount === 1) { // Process the events.