Let users adjust AI-generated slides in place via async job and Echo, while applying workspace brand, background, and text colors to image prompts. Autofill swaps site text/background colors for the image palette, and regeneration is blocked on finalized posts with safer job cleanup. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
251 B
PHP
15 lines
251 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Broadcasting;
|
|
|
|
use App\Models\User;
|
|
|
|
class UserAiMediaRegenerationChannel
|
|
{
|
|
public function join(User $user, User $owner, string $regenerationId): bool
|
|
{
|
|
return $user->is($owner);
|
|
}
|
|
}
|