kopia lustrzana https://github.com/pixelfed/pixelfed
Update CommentPipeline
rodzic
d6ebce4780
commit
718d9a0452
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue