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

Update CommentController, still allow muted users to comment on your …
This commit is contained in:
daniel 2019-07-20 20:55:45 -06:00 committed by GitHub
commit 69f9226a3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ class CommentController extends Controller
$filtered = UserFilter::whereUserId($status->profile_id)
->whereFilterableType('App\Profile')
->whereIn('filter_type', ['mute', 'block'])
->whereIn('filter_type', ['block'])
->whereFilterableId($profile->id)
->exists();