1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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