Exclude reblog from ltl antenna
This commit is contained in:
parent
af44c20d50
commit
055313116d
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ class DeliveryAntennaService
|
|||
def delivery_ltl!
|
||||
return if %i(public public_unlisted login).exclude?(@status.visibility.to_sym)
|
||||
return unless @account.local?
|
||||
return if @status.reblog?
|
||||
|
||||
antennas = Antenna.available_ltls
|
||||
antennas = antennas.where(account_id: Account.without_suspended.joins(:user).select('accounts.id').where('users.current_sign_in_at > ?', User::ACTIVE_DURATION.ago))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue