diff --git a/app/Http/Controllers/StatusController.php b/app/Http/Controllers/StatusController.php index 20e3043ac..d8caf175f 100644 --- a/app/Http/Controllers/StatusController.php +++ b/app/Http/Controllers/StatusController.php @@ -22,7 +22,7 @@ class StatusController extends Controller $user = Profile::whereUsername($username)->firstOrFail(); $status = Status::whereProfileId($user->id) - ->where('visibility', '!=', 'draft') + ->whereNotIn('visibility',['draft','direct']) ->findOrFail($id); if($status->visibility == 'private' || $user->is_private) {