diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-28 20:40:25 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:16 -0500 |
commit | 054e15e4f03eecb174374466581b9662a6b38e24 (patch) | |
tree | 80db06ea08762f659878d8ffe2ffb4f54333b9c6 /app/lib/activitypub | |
parent | 9234fb32e6b2b8bf8fb2184f9b1b57202eb5f625 (diff) |
[Privacy] Add options for private accounts
Diffstat (limited to 'app/lib/activitypub')
-rw-r--r-- | app/lib/activitypub/adapter.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/lib/activitypub/adapter.rb b/app/lib/activitypub/adapter.rb index ef46ae4ae..fb8257c77 100644 --- a/app/lib/activitypub/adapter.rb +++ b/app/lib/activitypub/adapter.rb @@ -12,6 +12,8 @@ class ActivityPub::Adapter < ActiveModelSerializers::Adapter::Base require_dereference: { 'mp' => 'http://the.monsterpit.net/ns#', 'requireDereference' => 'mp:requireDereference' }, show_replies: { 'mp' => 'http://the.monsterpit.net/ns#', 'showReplies' => 'mp:showReplies' }, show_unlisted: { 'mp' => 'http://the.monsterpit.net/ns#', 'showUnlisted' => 'mp:showUnlisted' }, + private: { 'mp' => 'http://the.monsterpit.net/ns#', 'private' => 'mp:private' }, + require_auth: { 'mp' => 'http://the.monsterpit.net/ns#', 'requireAuth' => 'mp:requireAuth' }, manually_approves_followers: { 'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers' }, sensitive: { 'sensitive' => 'as:sensitive' }, hashtag: { 'Hashtag' => 'as:Hashtag' }, |