about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-30 00:14:36 +0200
committerGitHub <noreply@github.com>2019-08-30 00:14:36 +0200
commitcb447b28c403c7db32e3e3d7c2510004287edfda (patch)
tree5bf7b38a977107857407ba7e9d03044eb0c1534a /app/services
parent7802ebd5f3de1ef4b7384f24fe5067977aff8da3 (diff)
Add profile directory to web UI (#11688)
* Add profile directory to web UI

* Add a line of bio to the directory
Diffstat (limited to 'app/services')
-rw-r--r--app/services/activitypub/process_account_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb
index 603e27ed9..cef658e19 100644
--- a/app/services/activitypub/process_account_service.rb
+++ b/app/services/activitypub/process_account_service.rb
@@ -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!