about summary refs log tree commit diff
path: root/app/lib
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/lib
parent879a4a80290b9e122fd9fc007cc7bd0a2d44c561 (diff)
federate account locked status (`mp:locked`)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/activitypub/adapter.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/lib/activitypub/adapter.rb b/app/lib/activitypub/adapter.rb
index 2edad1caa..7b0b1390c 100644
--- a/app/lib/activitypub/adapter.rb
+++ b/app/lib/activitypub/adapter.rb
@@ -36,6 +36,10 @@ class ActivityPub::Adapter < ActiveModelSerializers::Adapter::Base
       'mp' => 'https://monsterpit.net/ns#',
       'supportsChat' => 'mp:supportsChat'
     },
+    locked: {
+      'mp' => 'https://monsterpit.net/ns#',
+      'locked' => 'mp:locked'
+    },
   }.freeze
 
   def self.default_key_transform