Socieboy\Forum\Jobs\Replies\PostReply::authUserIsOwner PHP Method

authUserIsOwner() protected method

Return true if the auth user is the owner of the conversation where the reply was left
protected authUserIsOwner ( $conversation ) : boolean
$conversation
return boolean
    protected function authUserIsOwner($conversation)
    {
        return auth()->user()->id == $conversation->user_id;
    }