Mastodon API: Set follower/following counters to 0 when hiding
authorrinpatch <rinpatch@sdf.org>
Fri, 9 Aug 2019 13:49:09 +0000 (16:49 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 9 Aug 2019 13:53:55 +0000 (16:53 +0300)
commit409bcad54b5de631536761952faed05ad5fe3b99
tree9cd535049299204fd906d99638ccc5b8ee1da4b6
parent29807ef6a5b43a528ffca08b4f721b251f331c8d
Mastodon API: Set follower/following counters to 0 when hiding
followers/following is enabled

We are already doing that in AP representation, so I think we should do
it here as well for consistency.
CHANGELOG.md
lib/pleroma/web/mastodon_api/views/account_view.ex
test/web/mastodon_api/account_view_test.exs