Add serializing/unserializing of "locked" actor attribute (#4585)
This commit is contained in:
parent
40be4ea239
commit
ccdd5a9576
4 changed files with 31 additions and 0 deletions
|
@ -46,6 +46,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.save!
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue