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

pull/1537/head
Daniel Supernault 7 years ago
parent 272dabf449
commit 3820122af2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save