Fix stl mode picking unlisted/private posts
This commit is contained in:
parent
5b51413be7
commit
27d022096e
1 changed files with 4 additions and 2 deletions
|
@ -49,8 +49,10 @@ class FanOutOnWriteService < BaseService
|
||||||
when :public, :unlisted, :public_unlisted, :private
|
when :public, :unlisted, :public_unlisted, :private
|
||||||
deliver_to_all_followers!
|
deliver_to_all_followers!
|
||||||
deliver_to_lists!
|
deliver_to_lists!
|
||||||
deliver_to_antennas! if [:public, :public_unlisted].include?(@status.visibility.to_sym) && !@account.dissubscribable
|
if [:public, :public_unlisted].include?(@status.visibility.to_sym)
|
||||||
|
deliver_to_antennas! unless @account.dissubscribable
|
||||||
deliver_to_stl_antennas!
|
deliver_to_stl_antennas!
|
||||||
|
end
|
||||||
when :limited
|
when :limited
|
||||||
deliver_to_mentioned_followers!
|
deliver_to_mentioned_followers!
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue