about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-18 21:32:40 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-18 21:32:40 -0500
commit40debd9f80f363c06e03b8c67c076a1060016aab (patch)
tree9e2cd0bc8a845b36fa7b821220d151ac486651dc /app/serializers
parent879a4a80290b9e122fd9fc007cc7bd0a2d44c561 (diff)
federate account locked status (`mp:locked`)
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/activitypub/actor_serializer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/serializers/activitypub/actor_serializer.rb b/app/serializers/activitypub/actor_serializer.rb
index a260a6f1f..95110bfc2 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, :supports_chat
+                     :adult_content, :gently, :kobold, :supports_chat, :locked
 
   attributes :id, :type, :following, :followers,
              :inbox, :outbox, :featured,
              :preferred_username, :name, :summary,
              :url, :manually_approves_followers,
              :gently, :kobold, :adult_content,
-             :supports_chat
+             :supports_chat, :locked
 
   has_one :public_key, serializer: ActivityPub::PublicKeySerializer