Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/Reaction/ProfilePost.php
<?php

namespace XF\Reaction;

use
XF\Mvc\Entity\Entity;

class
ProfilePost extends AbstractHandler
{
    public function
reactionsCounted(Entity $entity)
    {
        return (
$entity->message_state == 'visible');
    }

    public function
getEntityWith()
    {
        return [
'ProfileUser', 'ProfileUser.Privacy'];
    }
}