2026-05-03 12:36:50 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace App\Broadcasting;
|
|
|
|
|
|
|
|
|
|
use App\Models\User;
|
|
|
|
|
|
|
|
|
|
class UserAiCreationChannel
|
|
|
|
|
{
|
2026-05-08 21:30:11 +00:00
|
|
|
public function join(User $user, User $owner, string $creationId): bool
|
2026-05-03 12:36:50 +00:00
|
|
|
{
|
2026-05-08 21:30:11 +00:00
|
|
|
return $user->is($owner);
|
2026-05-03 12:36:50 +00:00
|
|
|
}
|
|
|
|
|
}
|