From b5e23152bd1c2ea1091b2785a49e9ab3d0f3fd16 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 2 Mar 2020 01:16:05 -0600 Subject: clean up timeline scoping & drop timeline options no longer used by monsterfork --- app/services/fan_out_on_write_service.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/services/fan_out_on_write_service.rb') diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb index 4d868b699..3bd3717fe 100644 --- a/app/services/fan_out_on_write_service.rb +++ b/app/services/fan_out_on_write_service.rb @@ -21,7 +21,7 @@ class FanOutOnWriteService < BaseService deliver_to_mentioned_followers(status) elsif status.local_visibility? deliver_to_followers(status) unless public_only || status.curated - return if status.reblog? && !Setting.show_reblogs_in_public_timelines + return if status.reblog? deliver_to_lists(status) unless public_only || status.curated deliver_to_local(status) unless filtered?(status) else @@ -30,7 +30,7 @@ class FanOutOnWriteService < BaseService deliver_to_lists(status) end - return if status.reblog? && !Setting.show_reblogs_in_public_timelines + return if status.reblog? return if filtered?(status) || (status.reblog? && filtered?(status.reblog)) if !status.reblog? && status.distributable? @@ -53,7 +53,7 @@ class FanOutOnWriteService < BaseService private def filtered?(status) - status.account.silenced? || !Setting.show_replies_in_public_timelines && status.reply? && status.in_reply_to_account_id != status.account_id + status.account.silenced? || status.reply? && status.in_reply_to_account_id != status.account_id end def deliver_to_self(status) -- cgit