Commit 62b2836b authored by yakitama's avatar yakitama

unlisted なハッシュタグ投稿が streaming で流れてくるようにした

parent 00efc2f2
......@@ -18,10 +18,12 @@ class FanOutOnWriteService < BaseService
deliver_to_lists(status)
end
return if status.account.silenced? || !status.public_visibility? || status.reblog?
is_public_with_unlisted = (status.public_visibility? || status.unlisted_visibility?)
return if status.account.silenced? || !is_public_with_unlisted || status.reblog?
deliver_to_hashtags(status)
return if !status.public_visibility?
return if status.reply? && status.in_reply_to_account_id != status.account_id
deliver_to_public(status)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment