Update StatusController

This commit is contained in:
Daniel Supernault 2019-06-24 22:35:21 -06:00
parent c8c441aa4c
commit 3b1082032f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -30,6 +30,7 @@ class StatusController extends Controller
}
$status = Status::whereProfileId($user->id)
->whereNull('reblog_of_id')
->whereNotIn('visibility',['draft','direct'])
->findOrFail($id);