1
0
Fork 0
forked from mirror/pixelfed

Update CommentController, still allow muted users to comment on your posts

This commit is contained in:
Daniel Supernault 2019-07-20 20:55:10 -06:00
parent 272dabf449
commit 3820122af2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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