0
0
Fork 0

Add serializing/unserializing of "locked" actor attribute (#4585)

This commit is contained in:
Eugen Rochko 2017-08-12 17:41:03 +02:00 committed by GitHub
parent 40be4ea239
commit ccdd5a9576
4 changed files with 31 additions and 0 deletions

View file

@ -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