Merge pull request #1112 from pixelfed/frontend-ui-refactor

Update CommentController
pull/1120/head
daniel 6 years ago committed by GitHub
commit ab08949e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save