0
0
Fork 0

Show exact number of followers/statuses on export page/in tooltip (#8199)

* Show exact number of followers/statuses on export page/in tooltip

* Fix tests
This commit is contained in:
Eugen Rochko 2018-08-14 21:56:17 +02:00 committed by GitHub
parent ec2c516ab8
commit aaac14b8ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 17 deletions

View file

@ -24,8 +24,16 @@ class Export
account.media_attachments.sum(:file_file_size)
end
def total_statuses
account.statuses_count
end
def total_follows
account.following.count
account.following_count
end
def total_followers
account.followers_count
end
def total_blocks