From d0769f0309e0bae477d955c6433b8baec034f848 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 4 Jan 2020 10:16:52 -0600 Subject: monsterpit says trans rights!!! --- app/serializers/activitypub/actor_serializer.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/serializers/activitypub/actor_serializer.rb') diff --git a/app/serializers/activitypub/actor_serializer.rb b/app/serializers/activitypub/actor_serializer.rb index 7ea28afd5..7297d7c42 100644 --- a/app/serializers/activitypub/actor_serializer.rb +++ b/app/serializers/activitypub/actor_serializer.rb @@ -7,14 +7,14 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer context_extensions :manually_approves_followers, :featured, :also_known_as, :moved_to, :property_value, :hashtag, :emoji, - :adult_content, :gently, :kobold, :froze, :big + :adult_content, :gently, :kobold, :froze, :big, :trans attributes :id, :type, :following, :followers, :inbox, :outbox, :featured, :preferred_username, :name, :summary, :url, :manually_approves_followers, :gently, :kobold, :adult_content, - :froze, :tails_never_fail + :froze, :tails_never_fail, :trans has_one :public_key, serializer: ActivityPub::PublicKeySerializer @@ -41,6 +41,10 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer delegate :moved?, to: :object + def trans + 'rights' + end + def id account_url(object) end -- cgit