Merge branch 'actor-published' into 'develop'
Include "published" in actor view See merge request pleroma/pleroma!4312
This commit is contained in:
commit
f2c612d4ae
2 changed files with 3 additions and 1 deletions
1
changelog.d/actor-published-date.add
Normal file
1
changelog.d/actor-published-date.add
Normal file
|
@ -0,0 +1 @@
|
|||
Include "published" in actor view
|
|
@ -127,7 +127,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do
|
|||
"capabilities" => capabilities,
|
||||
"alsoKnownAs" => user.also_known_as,
|
||||
"vcard:bday" => birthday,
|
||||
"webfinger" => "acct:#{User.full_nickname(user)}"
|
||||
"webfinger" => "acct:#{User.full_nickname(user)}",
|
||||
"published" => Pleroma.Web.CommonAPI.Utils.to_masto_date(user.inserted_at)
|
||||
}
|
||||
|> Map.merge(
|
||||
maybe_make_image(
|
||||
|
|
Loading…
Add table
Reference in a new issue