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
|
@ -50,7 +50,7 @@ class ActivityPub::ProcessAccountService < BaseService
|
|||
@account.avatar_remote_url = image_url('icon')
|
||||
@account.header_remote_url = image_url('image')
|
||||
@account.public_key = public_key || ''
|
||||
@account.locked = @json['locked'] || false
|
||||
@account.locked = @json['manuallyApprovesFollowers'] || false
|
||||
@account.save!
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue