diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-18 23:59:04 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:43:08 -0500 |
commit | dc5526f4ae8c9d3a6f132b2bc72914b95e5286cc (patch) | |
tree | 511631c5b0b87d0b8c4dae207af03aa80d54be73 /app/services/activitypub | |
parent | c6ede2d0eef48df6f9a70bb9c2036d688bda35af (diff) |
[Privacy, Federation, UI] Add options to allow Fediverse users to decide whether to include replies and unlisted posts on their profiles
Diffstat (limited to 'app/services/activitypub')
-rw-r--r-- | app/services/activitypub/process_account_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb index 56c70cfa0..2a5980c79 100644 --- a/app/services/activitypub/process_account_service.rb +++ b/app/services/activitypub/process_account_service.rb @@ -87,6 +87,8 @@ class ActivityPub::ProcessAccountService < BaseService @account.actor_type = actor_type @account.discoverable = @json['discoverable'] || false @account.require_dereference = @json['requireDereference'] || false + @account.show_replies = @json['showReplies'] || true + @account.show_unlisted = @json['showUnlisted'] || true end def set_fetchable_attributes! |