about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/lib/bangtags.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index f052a21a1..61034a0b5 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -816,7 +816,9 @@ class Bangtags
             footer: footer,
             local_only: post_cmd[2] == 'local'
           )
-          FanOutOnWriteService.new.call(s)
+
+          DistributionWorker.perform_async(s.id)
+          ActivityPub::DistributionWorker.perform_async(s) unless s.local_only?
 
           @chunks << 'Announce successful.'
         end