forked from mirror/pixelfed
Merge pull request #1112 from pixelfed/frontend-ui-refactor
Update CommentController
This commit is contained in:
commit
ab08949e0e
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ class CommentController extends Controller
|
|||
$profile = $user->profile;
|
||||
$status = Status::findOrFail($statusId);
|
||||
|
||||
if($status->comments_disabled == true) {
|
||||
return;
|
||||
}
|
||||
|
||||
Cache::forget('transform:status:'.$status->url());
|
||||
|
||||
$autolink = Autolink::create()->autolink($comment);
|
||||
|
|
Loading…
Reference in a new issue