about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-12 04:24:07 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-12 04:24:07 -0600
commita8b4d5316c1c9f3804377a10583a0a4d50549e25 (patch)
tree4edfd7984de7b13925058be1d02269670fb4f7af
parent452237335bdaa8fd2a6d6bf16efe64978ea4d9b1 (diff)
remove duplicate post distribution calls
-rw-r--r--app/workers/scheduler/werewolf_scheduler.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/workers/scheduler/werewolf_scheduler.rb b/app/workers/scheduler/werewolf_scheduler.rb
index 6495ae5d3..fa16e2b13 100644
--- a/app/workers/scheduler/werewolf_scheduler.rb
+++ b/app/workers/scheduler/werewolf_scheduler.rb
@@ -22,16 +22,13 @@ class Scheduler::WerewolfScheduler
     announcer = find_announcer_acct
     return if announcer.nil?
 
-    s = PostStatusService.new.call(
+    PostStatusService.new.call(
       announcer,
       visibility: :public,
       text: STATUS,
       footer: FOOTER,
       content_type: 'text/console',
     )
-
-    DistributionWorker.perform_async(s.id)
-    ActivityPub::DistributionWorker.perform_async(s.id)
   end
 
   private