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

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

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