mastodon/app/services/concerns
Eugen Rochko 6d59dfa15d
Optimize the process of following someone ()
* Eliminate extra accounts select query from FollowService

* Optimistically update follow state in web UI and hide loading bar

Fix 

* Asynchronize NotifyService in FollowService

And fix failing test

* Skip Webfinger resolve routine when called from FollowService if possible

If an account is ActivityPub, then webfinger re-resolving is not necessary
when called from FollowService. Improve options of ResolveAccountService
..
author_extractor.rb Optimize the process of following someone ()
stream_entry_renderer.rb Correct OStatus inflection (Ostatus -> OStatus) ()