Rename "locked" to "manuallyApprovesFollowers" in ActivityPub (#4779)
See: <https://www.w3.org/wiki/Activity_Streams_extensions#as:manuallyApprovesFollowers>
This commit is contained in:
parent
6ec1aa372d
commit
37fdddd927
3 changed files with 13 additions and 10 deletions
|
@ -7,14 +7,13 @@ class ActivityPub::Adapter < ActiveModelSerializers::Adapter::Base
|
|||
'https://w3id.org/security/v1',
|
||||
|
||||
{
|
||||
'locked' => 'as:locked',
|
||||
'sensitive' => 'as:sensitive',
|
||||
'Hashtag' => 'as:Hashtag',
|
||||
|
||||
'ostatus' => 'http://ostatus.org#',
|
||||
'atomUri' => 'ostatus:atomUri',
|
||||
'inReplyToAtomUri' => 'ostatus:inReplyToAtomUri',
|
||||
'conversation' => 'ostatus:conversation',
|
||||
'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers',
|
||||
'sensitive' => 'as:sensitive',
|
||||
'Hashtag' => 'as:Hashtag',
|
||||
'ostatus' => 'http://ostatus.org#',
|
||||
'atomUri' => 'ostatus:atomUri',
|
||||
'inReplyToAtomUri' => 'ostatus:inReplyToAtomUri',
|
||||
'conversation' => 'ostatus:conversation',
|
||||
},
|
||||
],
|
||||
}.freeze
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue