From bf2ea2e3ac7cf142a0c91cadd926c23805ea2528 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 16 Feb 2020 00:49:06 -0600 Subject: make sure hidden posts are not streamed into timelines other than the author's --- app/services/fan_out_on_write_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services') diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb index 47f93e233..4d868b699 100644 --- a/app/services/fan_out_on_write_service.rb +++ b/app/services/fan_out_on_write_service.rb @@ -7,7 +7,7 @@ class FanOutOnWriteService < BaseService raise Mastodon::RaceConditionError if status.visibility.nil? deliver_to_self(status) if status.account.local? - return if delayed + return if delayed || status.hidden? render_anonymous_payload(status) -- cgit