1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

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; $target = $status->profile;
$actor = $comment->profile; $actor = $comment->profile;
if ($actor->id === $target->id) { if ($actor->id === $target->id || $status->comments_disabled == true) {
return true; return true;
} }