From 2257612deb518ff74a5b12b08173a09a843cb975 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 30 Jul 2025 18:09:16 +0200 Subject: [PATCH] Fix "new replies available" reporting a false positive for re-fetched root status (#35602) --- app/workers/activitypub/fetch_all_replies_worker.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/workers/activitypub/fetch_all_replies_worker.rb b/app/workers/activitypub/fetch_all_replies_worker.rb index 14142b9cd..128bfe7e8 100644 --- a/app/workers/activitypub/fetch_all_replies_worker.rb +++ b/app/workers/activitypub/fetch_all_replies_worker.rb @@ -86,9 +86,7 @@ class ActivityPub::FetchAllRepliesWorker return if root_status_body.nil? - @batch.within do - FetchReplyWorker.perform_async(root_status_uri, { **options.deep_stringify_keys, 'prefetched_body' => root_status_body }) - end + FetchReplyWorker.perform_async(root_status_uri, { **options.deep_stringify_keys.except('batch_id'), 'prefetched_body' => root_status_body }) get_replies(root_status_body, MAX_PAGES, options) end