From 825fcd6fe4e76caedb767866e4f5575a5f90b7d8 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 10 Dec 2018 20:45:44 -0700 Subject: [PATCH] Update Profile model --- app/Profile.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Profile.php b/app/Profile.php index 5dc6599e..4176a310 100644 --- a/app/Profile.php +++ b/app/Profile.php @@ -156,6 +156,7 @@ class Profile extends Model public function statusCount() { return $this->statuses() + ->getQuery() ->whereHas('media') ->whereNull('in_reply_to_id') ->whereNull('reblog_of_id')