Add kiosk join/leave pages, waiting room, and meeting feedback.
Deploy Ladill Meet / deploy (push) Successful in 47s
Deploy Ladill Meet / deploy (push) Successful in 47s
Redesign public join flows on the Frontdesk kiosk template, enforce host admission when waiting room is enabled, and collect star ratings after leave. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -111,6 +111,19 @@ class Room extends Model
|
||||
return $this->status === 'live';
|
||||
}
|
||||
|
||||
public function requiresWaitingRoom(?User $user, string $role): bool
|
||||
{
|
||||
if (! $this->setting('waiting_room', true)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($role === 'host' || ($user && $user->ownerRef() === $this->host_user_ref)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public function joinUrl(): string
|
||||
{
|
||||
return rtrim((string) config('app.meet_url', 'https://meet.ladill.com'), '/').'/r/'.$this->uuid;
|
||||
|
||||
Reference in New Issue
Block a user