mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Fix pushing hashtag-followed posts to feeds of inactive users (#33018)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user