Change ResolveAccountService's handling of skip_webfinger (#15750)
* Change ResolveAccountService's handling of skip_webfinger Change it so it never makes any webfinger query, as the name would imply. * Add tests * Change FollowService to not take an URI for target_account * Restore domain-block check in FollowService * Fix tests
Showing
- app/services/follow_service.rb 4 additions, 3 deletionsapp/services/follow_service.rb
- app/services/resolve_account_service.rb 3 additions, 2 deletionsapp/services/resolve_account_service.rb
- spec/controllers/api/v1/follow_requests_controller_spec.rb 1 addition, 1 deletionspec/controllers/api/v1/follow_requests_controller_spec.rb
- spec/controllers/api/v1/notifications_controller_spec.rb 1 addition, 1 deletionspec/controllers/api/v1/notifications_controller_spec.rb
- spec/controllers/authorize_interactions_controller_spec.rb 0 additions, 2 deletionsspec/controllers/authorize_interactions_controller_spec.rb
- spec/services/follow_service_spec.rb 10 additions, 10 deletionsspec/services/follow_service_spec.rb
- spec/services/resolve_account_service_spec.rb 41 additions, 0 deletionsspec/services/resolve_account_service_spec.rb
Please register or sign in to comment