Fix being able to spoof link verification (#20217)
- Change verification to happen in `default` queue - Change verification worker to only be queued if there's something to do - Add `link` tags from metadata fields to page header of profiles
This commit is contained in:
parent
53817294fc
commit
e98833748e
7 changed files with 211 additions and 48 deletions
|
@ -40,7 +40,7 @@ class ActivityPub::ProcessAccountService < BaseService
|
|||
unless @options[:only_key] || @account.suspended?
|
||||
check_featured_collection! if @account.featured_collection_url.present?
|
||||
check_featured_tags_collection! if @json['featuredTags'].present?
|
||||
check_links! unless @account.fields.empty?
|
||||
check_links! if @account.fields.any?(&:requires_verification?)
|
||||
end
|
||||
|
||||
@account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue