Add logic for keeping follow_request_count up-to-date on the `follow`,
authoreugenijm <eugenijm@protonmail.com>
Sat, 9 Feb 2019 23:26:29 +0000 (02:26 +0300)
committereugenijm <eugenijm@protonmail.com>
Fri, 15 Feb 2019 09:20:20 +0000 (12:20 +0300)
commitecdf0657ba4a90d821d3874c827593963e0ff041
tree070923fad99566531066618256e02c95abfe6c83
parentea2698beb75074e6c94acf0c66bcdbdb47f59acd
Add logic for keeping follow_request_count up-to-date on the `follow`,

`approve_friend_request`, and `deny_friend_request` actions.
Add follow_request_count to the user view.
lib/pleroma/user.ex
lib/pleroma/user/info.ex
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/activity_pub/transmogrifier.ex
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/twitter_api/twitter_api_controller.ex
lib/pleroma/web/twitter_api/views/user_view.ex
test/web/mastodon_api/mastodon_api_controller_test.exs
test/web/twitter_api/twitter_api_controller_test.exs