Gate Events-linked joins behind registration and badge check-in.
Deploy Ladill Meet / deploy (push) Successful in 43s

Attendees register or sign in with a badge before the display-name screen; email is no longer collected on the Meet join form.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-03 14:36:40 +00:00
co-authored by Cursor
parent 4fceda8c1f
commit 56d486d15c
9 changed files with 529 additions and 47 deletions
+19 -5
View File
@@ -51,18 +51,32 @@ class EventsSourceLink
return $eventId ? self::baseUrl().'/events/'.$eventId : null;
}
public static function eventRegistrationUrl(Room $room): ?string
public static function meetReturnUrl(Room $room): string
{
return route('meet.join', $room, absolute: true);
}
public static function eventRegistrationUrl(Room $room, ?string $meetReturn = null): ?string
{
$source = (array) ($room->source ?? []);
$stored = trim((string) ($source['registration_url'] ?? ''));
if ($stored !== '') {
return $stored;
$url = $stored !== ''
? $stored
: (($eventId = self::eventId($room))
? self::baseUrl().'/q/'.($source['short_code'] ?? '')
: null);
if ($url === null) {
return null;
}
$eventId = self::eventId($room);
$meetReturn = trim((string) ($meetReturn ?? ''));
if ($meetReturn === '') {
return $url;
}
return $eventId ? self::baseUrl().'/q/'.($source['short_code'] ?? '') : null;
return $url.(str_contains($url, '?') ? '&' : '?').'meet_return='.urlencode($meetReturn);
}
public static function eventQrUrl(Room $room): ?string