Avoid latest featured tag use on post removal unless necessary (#32787)
This commit is contained in:
@@ -115,7 +115,7 @@ class RemoveStatusService < BaseService
|
||||
|
||||
def remove_from_hashtags
|
||||
@account.featured_tags.where(tag_id: @status.tags.map(&:id)).find_each do |featured_tag|
|
||||
featured_tag.decrement(@status.id)
|
||||
featured_tag.decrement(@status)
|
||||
end
|
||||
|
||||
return unless @status.public_visibility?
|
||||
|
||||
Reference in New Issue
Block a user