Update CommentPipeline

This commit is contained in:
Daniel Supernault 2019-03-31 20:39:15 -06:00
parent d6ebce4780
commit 718d9a0452
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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;
}