0
0
Fork 0

Add joined date to profiles in web UI (#16169)

This commit is contained in:
Eugen Rochko 2021-05-07 14:33:19 +02:00 committed by GitHub
parent b42a8ef7d9
commit 2c77d97e0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 34 additions and 8 deletions

View file

@ -87,6 +87,7 @@ class ActivityPub::ProcessAccountService < BaseService
@account.url = url || @uri
@account.uri = @uri
@account.actor_type = actor_type
@account.created_at = @json['published'] if @json['published'].present?
end
def set_immediate_attributes!
@ -101,7 +102,7 @@ class ActivityPub::ProcessAccountService < BaseService
end
def set_fetchable_key!
@account.public_key = public_key || ''
@account.public_key = public_key || ''
end
def set_fetchable_attributes!