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/serializers/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/serializers/activitypub')
-rw-r--r-- | app/serializers/activitypub/actor_serializer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/serializers/activitypub/actor_serializer.rb b/app/serializers/activitypub/actor_serializer.rb index f3ed70490..5a63d15ea 100644 --- a/app/serializers/activitypub/actor_serializer.rb +++ b/app/serializers/activitypub/actor_serializer.rb @@ -24,8 +24,8 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer attribute :moved_to, if: :moved? attribute :also_known_as, if: :also_known_as? - context_extensions :require_dereference - attribute :require_dereference + context_extensions :require_dereference, :show_replies + attributes :require_dereference, :show_replies, :show_unlisted class EndpointsSerializer < ActivityPub::Serializer include RoutingHelper |