diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-28 22:39:05 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-28 22:39:54 -0500 |
commit | 90d72f19bae6188dfd4ec54f81e239f2a2a341fe (patch) | |
tree | 6ab2ad5fc603c06a34d58a97f27a7c638a8057ab /app/serializers/activitypub/actor_serializer.rb | |
parent | 965b713ac22eaca99e17b3e82731b7301e63edb5 (diff) |
big tails never fail!
Diffstat (limited to 'app/serializers/activitypub/actor_serializer.rb')
-rw-r--r-- | app/serializers/activitypub/actor_serializer.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/serializers/activitypub/actor_serializer.rb b/app/serializers/activitypub/actor_serializer.rb index 5ca962291..4cafe27e9 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, :identity_proof, - :adult_content, :gently, :kobold, :froze + :adult_content, :gently, :kobold, :froze, :big attributes :id, :type, :following, :followers, :inbox, :outbox, :featured, :preferred_username, :name, :summary, :url, :manually_approves_followers, :gently, :kobold, :adult_content, - :froze + :froze, :tails_never_fail has_one :public_key, serializer: ActivityPub::PublicKeySerializer @@ -133,6 +133,10 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer !object.also_known_as.empty? end + def tails_never_fail + true + end + class CustomEmojiSerializer < ActivityPub::EmojiSerializer end |