Add profile directory to web UI (#11688)

* Add profile directory to web UI

* Add a line of bio to the directory
This commit is contained in:
Eugen Rochko
2019-08-30 00:14:36 +02:00
committed by GitHub
parent 7802ebd5f3
commit cb447b28c4
25 changed files with 715 additions and 159 deletions

View File

@ -83,6 +83,7 @@ class ActivityPub::ProcessAccountService < BaseService
@account.fields = property_values || {}
@account.also_known_as = as_array(@json['alsoKnownAs'] || []).map { |item| value_or_id(item) }
@account.actor_type = actor_type
@account.discoverable = @json['discoverable'] || false
end
def set_fetchable_attributes!