1
0
Fork 0

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

Update CommentController
This commit is contained in:
daniel 2019-04-03 00:08:58 -06:00 committed by GitHub
commit ab08949e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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