Add support for indexable
attribute on remote actors (#26485)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
This commit is contained in:
parent
fc5ab2dc83
commit
90ec88d58b
5 changed files with 22 additions and 1 deletions
|
@ -115,6 +115,7 @@ class ActivityPub::ProcessAccountService < BaseService
|
|||
@account.fields = property_values || {}
|
||||
@account.also_known_as = as_array(@json['alsoKnownAs'] || []).map { |item| value_or_id(item) }
|
||||
@account.discoverable = @json['discoverable'] || false
|
||||
@account.indexable = @json['indexable'] || false
|
||||
end
|
||||
|
||||
def set_fetchable_key!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue