diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-17 22:08:47 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:43:08 -0500 |
commit | 28be38e40c6d56fd7bc0b0c98a3b76609e70b903 (patch) | |
tree | bd3a22d7f87787b7cbeb7baa5065724f533cc6b9 /app/serializers/activitypub | |
parent | 1a4c553afdba941eeac554ee8e2f47b2db2c6b48 (diff) |
[Privacy] Add profile option for indirect federation mode, disabled by default
Diffstat (limited to 'app/serializers/activitypub')
-rw-r--r-- | app/serializers/activitypub/actor_serializer.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/serializers/activitypub/actor_serializer.rb b/app/serializers/activitypub/actor_serializer.rb index 627d4446b..f3ed70490 100644 --- a/app/serializers/activitypub/actor_serializer.rb +++ b/app/serializers/activitypub/actor_serializer.rb @@ -24,6 +24,9 @@ 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 + class EndpointsSerializer < ActivityPub::Serializer include RoutingHelper |