Glitch-Shrike/app/workers/activitypub
Claire 5efb1ff337
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
2021-08-11 17:48:42 +02:00
..
delivery_worker.rb
distribute_poll_update_worker.rb
distribution_worker.rb
fetch_replies_worker.rb
followers_synchronization_worker.rb
low_priority_delivery_worker.rb
move_distribution_worker.rb
post_upgrade_worker.rb
processing_worker.rb
raw_distribution_worker.rb
reply_distribution_worker.rb
synchronize_featured_collection_worker.rb
update_distribution_worker.rb