From 3820122af21f733f8ae96c419bcb6c171a75b78e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 20 Jul 2019 20:55:10 -0600 Subject: [PATCH] Update CommentController, still allow muted users to comment on your posts --- app/Http/Controllers/CommentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/CommentController.php b/app/Http/Controllers/CommentController.php index 7248b0a59..586aacc72 100644 --- a/app/Http/Controllers/CommentController.php +++ b/app/Http/Controllers/CommentController.php @@ -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();