Update CommentPipeline

pull/1101/head
Daniel Supernault 6 years ago
parent d6ebce4780
commit 718d9a0452
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save