Return programme snapshot from Events link-room API.
Deploy Ladill Events / deploy (push) Successful in 31s

Meet can persist the agenda locally when linking, even if the service-to-service Meet sync fails.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-04 22:25:12 +00:00
co-authored by Cursor
parent 422c7e01bf
commit 6cf069d630
3 changed files with 22 additions and 2 deletions
@@ -110,11 +110,14 @@ class EventMeetRoomLinkService
$event = $this->sync->sync($event->fresh(), $owner);
$linkedSession = collect($event->content()['virtual_sessions'] ?? [])
->first(fn ($session) => is_array($session) && (string) ($session['id'] ?? '') === $sessionId);
return array_merge($this->summarizeEvent($event), [
'entity_id' => $sessionId,
'meet_room_uuid' => $roomUuid,
'join_url' => $joinUrl,
]);
], $this->sync->programmePayloadForSession($event, is_array($linkedSession) ? $linkedSession : $sessions[$matchedIndex]));
}
/** @return array<string, mixed> */