From 718d9a04522dcb2e74d2a81c6398228bc3f9d10a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 31 Mar 2019 20:39:15 -0600 Subject: [PATCH] Update CommentPipeline --- app/Jobs/CommentPipeline/CommentPipeline.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/CommentPipeline/CommentPipeline.php b/app/Jobs/CommentPipeline/CommentPipeline.php index bafe9bafd..4876138ce 100644 --- a/app/Jobs/CommentPipeline/CommentPipeline.php +++ b/app/Jobs/CommentPipeline/CommentPipeline.php @@ -51,7 +51,7 @@ class CommentPipeline implements ShouldQueue $target = $status->profile; $actor = $comment->profile; - if ($actor->id === $target->id) { + if ($actor->id === $target->id || $status->comments_disabled == true) { return true; }