about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-20 22:47:35 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-20 22:48:17 -0500
commit19fc6952b2a8477bd0ac41a0162248012761ecba (patch)
tree95e41f26558be744dbee34f4a8d28a2e42219619
parent70080ce6e647f41e71a9f260d1ea3b9b5cecdb6a (diff)
stop putting boosts in the local timeline when the booster's visibility is `local`
-rw-r--r--app/services/fan_out_on_write_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb
index f726dba18..9b959617d 100644
--- a/app/services/fan_out_on_write_service.rb
+++ b/app/services/fan_out_on_write_service.rb
@@ -21,6 +21,7 @@ class FanOutOnWriteService < BaseService
       deliver_to_hashtags(status)
     elsif status.local_visibility?
       deliver_to_followers(status)
+      return if status.reblog? && !Setting.show_reblogs_in_public_timelines
       deliver_to_lists(status)
       deliver_to_local(status) unless filtered?(status)
     else