1
0
Эх сурвалжийг харах

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

Daniel Supernault 6 жил өмнө
parent
commit
3820122af2

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