Add serializing/unserializing of "locked" actor attribute (#4585)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user