Fix pushing hashtag-followed posts to feeds of inactive users (#33018)
This commit is contained in:
parent
0518613dd7
commit
d75088d699
2 changed files with 3 additions and 1 deletions
|
@ -21,4 +21,6 @@ class TagFollow < ApplicationRecord
|
|||
accepts_nested_attributes_for :tag
|
||||
|
||||
rate_limit by: :account, family: :follows
|
||||
|
||||
scope :for_local_distribution, -> { joins(account: :user).merge(User.signed_in_recently) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue