[#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 17 Jan 2019 16:16:02 +0000 (19:16 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 17 Jan 2019 16:16:02 +0000 (19:16 +0300)
commit954dc4a4ad8a387ca7b18bb7d0ed32456491daec
tree1b49af453c5e131144307bc1930049c337e5e34f
parentce2efd1ee25d6e06c4bc5c0d97aad7b84c7c6874
[#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
lib/pleroma/stats.ex
lib/pleroma/user.ex
test/web/mastodon_api/mastodon_api_controller_test.exs