diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-18 21:32:40 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-18 21:32:40 -0500 |
commit | 40debd9f80f363c06e03b8c67c076a1060016aab (patch) | |
tree | 9e2cd0bc8a845b36fa7b821220d151ac486651dc /app/lib | |
parent | 879a4a80290b9e122fd9fc007cc7bd0a2d44c561 (diff) |
federate account locked status (`mp:locked`)
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/activitypub/adapter.rb | 4 |
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 |