App\Listeners\Forum\NotifySlack::notifyReply PHP Method

notifyReply() public method

public notifyReply ( $event )
    public function notifyReply($event)
    {
        if (!in_array($event->topic->topic_id, config('osu.forum.slack_watch.topic_ids'), true) && !in_array($event->topic->forum_id, config('osu.forum.slack_watch.forum_ids'), true)) {
            return;
        }
        return $this->notify($event, ['message' => 'A watched topic has been replied to', 'prefix' => 'Reply']);
    }