From 054e15e4f03eecb174374466581b9662a6b38e24 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 28 Jul 2020 20:40:25 -0500 Subject: [Privacy] Add options for private accounts --- app/lib/activitypub/adapter.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/lib/activitypub/adapter.rb') 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' }, -- cgit