Fix followers synchronization mechanism not working when URI has empty path (#16510)
* Fix followers synchronization mechanism not working when URI has empty path To my knowledge, there is no current implementation on the fediverse that can use bare domains (e.g., actor is at https://example.org instead of something like https://example.org/actor) that also plans to support the followers synchronization mechanism. However, Mastodon's current implementation would exclude such accounts from followers list. Also adds tests and rename them to reflect the proper method names. * Move url prefix regexp to its own constant
parent
2c83b907
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/models/account.rb 2 ajouts, 1 suppressionapp/models/account.rb
- app/models/concerns/account_interactions.rb 6 ajouts, 3 suppressionsapp/models/concerns/account_interactions.rb
- app/workers/activitypub/delivery_worker.rb 1 ajout, 5 suppressionsapp/workers/activitypub/delivery_worker.rb
- spec/models/concerns/account_interactions_spec.rb 36 ajouts, 25 suppressionsspec/models/concerns/account_interactions_spec.rb
- spec/workers/activitypub/delivery_worker_spec.rb 1 ajout, 1 suppressionspec/workers/activitypub/delivery_worker_spec.rb
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter