mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Profile model
This commit is contained in:
parent
21ec1704df
commit
825fcd6fe4
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue