Route webinar and conference registration through Ladill Events.
Deploy Ladill Meet / deploy (push) Successful in 1m26s
Deploy Ladill Meet / deploy (push) Successful in 1m26s
Add Events linking UI and service client, remove Meet-native registration and invitation flows for these room types, and redirect attendees to Events registration when joining. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -194,4 +194,21 @@ class Room extends Model
|
||||
{
|
||||
return rtrim((string) config('app.meet_url', 'https://meet.ladill.com'), '/').'/r/'.$this->uuid;
|
||||
}
|
||||
|
||||
public function isEventsLinked(): bool
|
||||
{
|
||||
return \App\Support\EventsSourceLink::isLinked($this);
|
||||
}
|
||||
|
||||
public function hasEventsRegistrationInvite(?string $email): bool
|
||||
{
|
||||
if ($email === null || trim($email) === '') {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->invitations()
|
||||
->where('email', $email)
|
||||
->whereIn('status', ['pending', 'accepted'])
|
||||
->exists();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user