-
- Downloads
Optimize the process of following someone (#9220)
* Eliminate extra accounts select query from FollowService * Optimistically update follow state in web UI and hide loading bar Fix #6205 * 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
Showing
- app/controllers/api/v1/accounts_controller.rb 1 addition, 1 deletionapp/controllers/api/v1/accounts_controller.rb
- app/javascript/mastodon/actions/accounts.js 14 additions, 4 deletionsapp/javascript/mastodon/actions/accounts.js
- app/javascript/mastodon/reducers/relationships.js 12 additions, 0 deletionsapp/javascript/mastodon/reducers/relationships.js
- app/services/concerns/author_extractor.rb 1 addition, 1 deletionapp/services/concerns/author_extractor.rb
- app/services/follow_service.rb 4 additions, 4 deletionsapp/services/follow_service.rb
- app/services/process_mentions_service.rb 1 addition, 1 deletionapp/services/process_mentions_service.rb
- app/services/resolve_account_service.rb 21 additions, 11 deletionsapp/services/resolve_account_service.rb
- app/workers/local_notification_worker.rb 10 additions, 3 deletionsapp/workers/local_notification_worker.rb
- spec/controllers/authorize_interactions_controller_spec.rb 3 additions, 1 deletionspec/controllers/authorize_interactions_controller_spec.rb
Loading
Please register or sign in to comment