Extend service API for Events and fix panel layout reverting during edit.
Deploy Ladill Meet / deploy (push) Successful in 48s

Service rooms support town_hall/webinar types with source lookup, update, and cancel; stage poll no longer overwrites layout while the modal is open.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-01 22:08:01 +00:00
co-authored by Cursor
parent d0b6e9ff01
commit c108514b27
8 changed files with 347 additions and 51 deletions
+13
View File
@@ -76,6 +76,19 @@ class Room extends Model
return $this->hasMany(SessionFile::class, 'room_id');
}
/**
* @param \Illuminate\Database\Eloquent\Builder<self> $query
*/
public function scopeForSource($query, string $app, string $entityId, ?string $ownerRef = null): void
{
$query->where('source->app', $app)
->where('source->entity_id', $entityId);
if ($ownerRef !== null) {
$query->where('owner_ref', $ownerRef);
}
}
public function isWebinar(): bool
{
return $this->type === 'webinar';