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

pull/1537/head
Daniel Supernault 2019-07-20 20:55:10 -06:00
rodzic 272dabf449
commit 3820122af2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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