From 28be38e40c6d56fd7bc0b0c98a3b76609e70b903 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Fri, 17 Jul 2020 22:08:47 -0500 Subject: [Privacy] Add profile option for indirect federation mode, disabled by default --- app/services/activitypub/process_account_service.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/services') diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb index 85b915ec6..56c70cfa0 100644 --- a/app/services/activitypub/process_account_service.rb +++ b/app/services/activitypub/process_account_service.rb @@ -86,6 +86,7 @@ class ActivityPub::ProcessAccountService < BaseService @account.also_known_as = as_array(@json['alsoKnownAs'] || []).map { |item| value_or_id(item) } @account.actor_type = actor_type @account.discoverable = @json['discoverable'] || false + @account.require_dereference = @json['requireDereference'] || false end def set_fetchable_attributes! -- cgit