where('conversation_id', $conversationId) ->where('user_id', $user->id) ->exists(); if ($isParticipant) { return true; } return ChatSupport::isOperator($user) && ChatSupport::conversationIncludesSupport((int) $conversationId); }); Broadcast::channel('chat.support', function ($user) { return ChatSupport::isOperator($user); });