diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-08-20 14:26:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 14:26:14 +0200 |
commit | 65b003cab86b6837012f4562d3d9d0910f3e942e (patch) | |
tree | 5d63d6f54c327bb3b0feecae7019a7fcd2e0cd9f /app/workers/activitypub | |
parent | 4a364de500029676b9828ec596ed6c2a09cfb65c (diff) | |
parent | 4f074b68ba4b9b91a7989f3f7d64ab29cf42214c (diff) |
Merge pull request #1588 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/workers/activitypub')
-rw-r--r-- | app/workers/activitypub/delivery_worker.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/workers/activitypub/delivery_worker.rb b/app/workers/activitypub/delivery_worker.rb index 6c5a576a7..788f2cf80 100644 --- a/app/workers/activitypub/delivery_worker.rb +++ b/app/workers/activitypub/delivery_worker.rb @@ -44,11 +44,7 @@ class ActivityPub::DeliveryWorker end def synchronization_header - "collectionId=\"#{account_followers_url(@source_account)}\", digest=\"#{@source_account.remote_followers_hash(inbox_url_prefix)}\", url=\"#{account_followers_synchronization_url(@source_account)}\"" - end - - def inbox_url_prefix - @inbox_url[/http(s?):\/\/[^\/]+\//] + "collectionId=\"#{account_followers_url(@source_account)}\", digest=\"#{@source_account.remote_followers_hash(@inbox_url)}\", url=\"#{account_followers_synchronization_url(@source_account)}\"" end def perform_request |