Fix ignore_reblog not work correctly

This commit is contained in:
KMY 2023-08-20 18:18:34 +09:00
parent 4b3b3a0e3b
commit 370d58701b

View file

@ -172,7 +172,7 @@ class FanOutOnWriteService < BaseService
antennas = antennas.where(account: @status.account.followers) if [:public, :public_unlisted, :login, :limited].exclude?(@status.visibility.to_sym)
antennas = antennas.where(account: @status.mentioned_accounts) if @status.visibility.to_sym == :limited
antennas = antennas.where(with_media_only: false) unless @status.with_media?
antennas = antennas.where(ignore_reblog: false) unless @status.reblog?
antennas = antennas.where(ignore_reblog: false) if @status.reblog?
antennas = antennas.where(stl: false)
collection = AntennaCollection.new(@status, @options[:update], false)