about summary refs log tree commit diff
path: root/app/workers/activitypub
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-02-10 22:49:59 +0100
committerClaire <claire.github-309c@sitedethib.com>2023-02-10 22:49:59 +0100
commit87419f9307f54755af4604876ac149262ae3f0a6 (patch)
tree5b6d56d248379823660d70dc35c95e4c547f43ea /app/workers/activitypub
parent4ceadc65b08cf4641c68b0b97b269f66c481ef50 (diff)
parent61c5dfb9295ea66c376c452a7ef7379e8c562416 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/workers/activitypub')
-rw-r--r--app/workers/activitypub/fetch_replies_worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/activitypub/fetch_replies_worker.rb b/app/workers/activitypub/fetch_replies_worker.rb
index 54d98f228..d72bad745 100644
--- a/app/workers/activitypub/fetch_replies_worker.rb
+++ b/app/workers/activitypub/fetch_replies_worker.rb
@@ -6,8 +6,8 @@ class ActivityPub::FetchRepliesWorker
 
   sidekiq_options queue: 'pull', retry: 3
 
-  def perform(parent_status_id, replies_uri)
-    ActivityPub::FetchRepliesService.new.call(Status.find(parent_status_id), replies_uri)
+  def perform(parent_status_id, replies_uri, options = {})
+    ActivityPub::FetchRepliesService.new.call(Status.find(parent_status_id), replies_uri, **options.deep_symbolize_keys)
   rescue ActiveRecord::RecordNotFound
     true
   end